MOre rubber stuff. ONly sapling left to do

This commit is contained in:
drcrazy 2019-02-22 17:25:31 +03:00
parent b6494ecbf6
commit ab2ce91e39
4 changed files with 8 additions and 121 deletions

View file

@ -67,7 +67,7 @@ public class BlockRubberLog extends Block {
public static BooleanProperty HAS_SAP = BooleanProperty.create("hassap");
public BlockRubberLog() {
super(Block.Properties.create(Material.WOOD).hardnessAndResistance(2f).sound(SoundType.WOOD).needsRandomTick());
super(Block.Properties.create(Material.WOOD).hardnessAndResistance(2f).sound(SoundType.WOOD).tickRandomly());
this.setDefaultState(this.getDefaultState().with(SAP_SIDE, EnumFacing.NORTH).with(HAS_SAP, false));
((BlockFire) Blocks.FIRE).setFireInfo(this, 5, 5);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));