add light levels
This commit is contained in:
parent
58a3c6b846
commit
19c47c2b37
|
@ -63,7 +63,7 @@ public abstract class BurnerBlock extends Block {
|
|||
public static final DirectionProperty FACING = BlockStateProperties.FACING;
|
||||
public static final BooleanProperty REDSTONE_LOCKED = BooleanProperty.create("redstone_locked");
|
||||
public BurnerBlock(Properties props) {
|
||||
super(props);
|
||||
super(props.lightLevel(s->s.getValue(LIT)?10:0));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue