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

@ -53,7 +53,7 @@ public class BlockVine extends BlockBaseNotFull implements IRenderTypeable, Fert
super(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.GRASS)
.lightLevel((state) -> {
.luminance((state) -> {
return bottomOnly ? state.get(SHAPE) == TripleShape.BOTTOM ? light : 0 : light;
})
.breakByHand(true)