MaterialColor
-> MapColor
This commit is contained in:
parent
4602596e60
commit
c051cc54c2
12 changed files with 34 additions and 35 deletions
|
@ -31,7 +31,7 @@ import net.minecraft.world.level.block.Blocks;
|
|||
import net.minecraft.world.level.block.SnowLayerBlock;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.lighting.LayerLightEngine;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
import net.minecraft.world.level.storage.loot.LootContext;
|
||||
import net.minecraft.world.level.storage.loot.parameters.LootContextParams;
|
||||
import net.minecraft.world.phys.BlockHitResult;
|
||||
|
@ -52,7 +52,7 @@ public class BaseTerrainBlock extends BaseBlock {
|
|||
private final Block baseBlock;
|
||||
private Block pathBlock;
|
||||
|
||||
public BaseTerrainBlock(Block baseBlock, MaterialColor color) {
|
||||
public BaseTerrainBlock(Block baseBlock, MapColor color) {
|
||||
super(Properties
|
||||
.copy(baseBlock)
|
||||
.color(color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue