MaterialColor
-> MapColor
This commit is contained in:
parent
d79885e15f
commit
295f9926bd
26 changed files with 101 additions and 101 deletions
|
@ -20,7 +20,7 @@ import net.minecraft.world.level.block.Blocks;
|
|||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.block.state.StateDefinition;
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
import net.minecraft.world.phys.BlockHitResult;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
|
@ -31,7 +31,7 @@ public class UmbrellaTreeClusterBlock extends BaseBlock {
|
|||
public UmbrellaTreeClusterBlock() {
|
||||
super(FabricBlockSettings
|
||||
.copyOf(Blocks.NETHER_WART_BLOCK)
|
||||
.mapColor(MaterialColor.COLOR_PURPLE)
|
||||
.mapColor(MapColor.COLOR_PURPLE)
|
||||
.luminance(15)
|
||||
);
|
||||
registerDefaultState(stateDefinition.any().setValue(NATURAL, false));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue