Deprecated fuctions fix

This commit is contained in:
paulevsGitch 2021-04-20 14:14:49 +03:00
parent ba07b9959d
commit c418fc4d04
7 changed files with 7 additions and 9 deletions

View file

@ -44,7 +44,7 @@ public class NeonCactusBlock extends BlockBaseNotFull implements SimpleWaterlogg
private static final EnumMap<Axis, VoxelShape> SMALL_SHAPES = Maps.newEnumMap(Axis.class);
public NeonCactusBlock() {
super(FabricBlockSettings.copyOf(Blocks.CACTUS).lightLevel(state -> {
super(FabricBlockSettings.copyOf(Blocks.CACTUS).luminance(state -> {
TripleShape shape = state.getValue(SHAPE);
if (shape == TripleShape.TOP) {
return 15;