More API update

This commit is contained in:
paulevsGitch 2020-10-29 00:40:49 +03:00
parent f3e0a6eac0
commit b13da60a35
13 changed files with 13 additions and 13 deletions

View file

@ -57,7 +57,7 @@ public class BlockDoublePlant extends BlockBaseNotFull implements IRenderTypeabl
super(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.WET_GRASS)
.lightLevel((state) -> { return state.get(TOP) ? light : 0; })
.luminance((state) -> { return state.get(TOP) ? light : 0; })
.breakByHand(true)
.noCollision());
this.setDefaultState(this.stateManager.getDefaultState().with(TOP, false));