LayerLightEngine
-> LightEngine
This commit is contained in:
parent
9573b280ad
commit
8ffe1dbc2e
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ import net.minecraft.world.level.block.Block;
|
||||||
import net.minecraft.world.level.block.Blocks;
|
import net.minecraft.world.level.block.Blocks;
|
||||||
import net.minecraft.world.level.block.SnowLayerBlock;
|
import net.minecraft.world.level.block.SnowLayerBlock;
|
||||||
import net.minecraft.world.level.block.state.BlockState;
|
import net.minecraft.world.level.block.state.BlockState;
|
||||||
import net.minecraft.world.level.lighting.LayerLightEngine;
|
import net.minecraft.world.level.lighting.LightEngine;
|
||||||
import net.minecraft.world.level.material.MapColor;
|
import net.minecraft.world.level.material.MapColor;
|
||||||
import net.minecraft.world.level.storage.loot.LootContext;
|
import net.minecraft.world.level.storage.loot.LootContext;
|
||||||
import net.minecraft.world.level.storage.loot.parameters.LootContextParams;
|
import net.minecraft.world.level.storage.loot.parameters.LootContextParams;
|
||||||
|
@ -116,7 +116,7 @@ public class BaseTerrainBlock extends BaseBlock {
|
||||||
} else if (blockState.getFluidState().getAmount() == 8) {
|
} else if (blockState.getFluidState().getAmount() == 8) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
int i = LayerLightEngine.getLightBlockInto(
|
int i = LightEngine.getLightBlockInto(
|
||||||
worldView,
|
worldView,
|
||||||
state,
|
state,
|
||||||
pos,
|
pos,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue