MaterialColor -> MapColor

This commit is contained in:
Frank 2023-05-17 12:26:47 +02:00
parent 4602596e60
commit c051cc54c2
12 changed files with 34 additions and 35 deletions

View file

@ -14,14 +14,14 @@ import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.RotatedPillarBlock;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.material.MaterialColor;
import net.minecraft.world.level.material.MapColor;
import net.minecraft.world.phys.BlockHitResult;
public class BaseStripableLogBlock extends BaseRotatedPillarBlock {
private final Block striped;
public BaseStripableLogBlock(MaterialColor color, Block striped) {
public BaseStripableLogBlock(MapColor color, Block striped) {
super(Properties.copy(striped).color(color));
this.striped = striped;
}