Deprecated fuctions fix
This commit is contained in:
parent
ba07b9959d
commit
c418fc4d04
7 changed files with 7 additions and 9 deletions
|
@ -53,7 +53,7 @@ public class RespawnObeliskBlock extends BlockBase implements IColorProvider, IR
|
|||
public static final EnumProperty<TripleShape> SHAPE = BlockProperties.TRIPLE_SHAPE;
|
||||
|
||||
public RespawnObeliskBlock() {
|
||||
super(FabricBlockSettings.copyOf(Blocks.END_STONE).lightLevel((state) -> {
|
||||
super(FabricBlockSettings.copyOf(Blocks.END_STONE).luminance((state) -> {
|
||||
return (state.getValue(SHAPE) == TripleShape.BOTTOM) ? 0 : 15;
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue