Add job for farming trees and object physics
This commit is contained in:
@@ -194,6 +194,12 @@ NON_SOLID = [
|
||||
'cave_air',
|
||||
'lantern',
|
||||
'soul_torch',
|
||||
#'oak_sapling', # saplings can grow up and hurt
|
||||
#'spruce_sapling',
|
||||
#'birch_sapling',
|
||||
#'jungle_sapling',
|
||||
#'acacia_sapling',
|
||||
#'dark_oak_sapling',
|
||||
]
|
||||
|
||||
LOGS = [
|
||||
@@ -214,6 +220,15 @@ LEAVES = [
|
||||
'dark_oak_leaves',
|
||||
]
|
||||
|
||||
SAPLINGS = [
|
||||
'oak_sapling',
|
||||
'spruce_sapling',
|
||||
'birch_sapling',
|
||||
'jungle_sapling',
|
||||
'acacia_sapling',
|
||||
'dark_oak_sapling',
|
||||
]
|
||||
|
||||
CHESTS = [
|
||||
'chest',
|
||||
]
|
||||
@@ -253,6 +268,11 @@ for block_name in INDEXED:
|
||||
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
|
||||
INDEXED_IDS.add(state['id'])
|
||||
|
||||
SAPLING_IDS = set()
|
||||
for block_name in SAPLINGS:
|
||||
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
|
||||
SAPLING_IDS.add(state['id'])
|
||||
|
||||
|
||||
def get(bid):
|
||||
name = BLOCKS[bid]
|
||||
|
||||
Reference in New Issue
Block a user