Replaced deprecated method
This commit is contained in:
parent
c2e5096056
commit
3725fbb029
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
public class BaseFurnaceBlock extends FurnaceBlock implements BlockModelProvider, RenderLayerProvider {
|
public class BaseFurnaceBlock extends FurnaceBlock implements BlockModelProvider, RenderLayerProvider {
|
||||||
public BaseFurnaceBlock(Block source) {
|
public BaseFurnaceBlock(Block source) {
|
||||||
this(FabricBlockSettings.copyOf(source).lightLevel(state -> state.getValue(LIT) ? 13 : 0));
|
this(FabricBlockSettings.copyOf(source).luminance(state -> state.getValue(LIT) ? 13 : 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
public BaseFurnaceBlock(BlockBehaviour.Properties properties) {
|
public BaseFurnaceBlock(BlockBehaviour.Properties properties) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue