MaterialColor
-> MapColor
This commit is contained in:
parent
d79885e15f
commit
295f9926bd
26 changed files with 101 additions and 101 deletions
|
@ -3,16 +3,16 @@ package org.betterx.betterend.blocks.basis;
|
|||
import org.betterx.bclib.blocks.LeveledAnvilBlock;
|
||||
import org.betterx.betterend.complexmaterials.MetalMaterial;
|
||||
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
|
||||
public class EndAnvilBlock extends LeveledAnvilBlock {
|
||||
protected MetalMaterial metalMaterial;
|
||||
|
||||
public EndAnvilBlock(MaterialColor color, int level) {
|
||||
public EndAnvilBlock(MapColor color, int level) {
|
||||
super(color, level);
|
||||
}
|
||||
|
||||
public EndAnvilBlock(MetalMaterial metalMaterial, MaterialColor color, int level) {
|
||||
public EndAnvilBlock(MetalMaterial metalMaterial, MapColor color, int level) {
|
||||
super(color, level);
|
||||
this.metalMaterial = metalMaterial;
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@ import net.minecraft.tags.TagKey;
|
|||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EndTerrainBlock extends BaseTerrainBlock implements PottableTerrain, TagProvider {
|
||||
public EndTerrainBlock(MaterialColor color) {
|
||||
public EndTerrainBlock(MapColor color) {
|
||||
super(Blocks.END_STONE, color);
|
||||
}
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@ import org.betterx.bclib.blocks.TripleTerrainBlock;
|
|||
import org.betterx.betterend.interfaces.PottableTerrain;
|
||||
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
|
||||
public class EndTripleTerrain extends TripleTerrainBlock implements PottableTerrain {
|
||||
public EndTripleTerrain(MaterialColor color) {
|
||||
public EndTripleTerrain(MapColor color) {
|
||||
super(Blocks.END_STONE, color);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,15 +4,15 @@ import org.betterx.bclib.blocks.BaseLeavesBlock;
|
|||
import org.betterx.betterend.interfaces.PottablePlant;
|
||||
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
|
||||
public class PottableLeavesBlock extends BaseLeavesBlock implements PottablePlant {
|
||||
|
||||
public PottableLeavesBlock(Block sapling, MaterialColor color) {
|
||||
public PottableLeavesBlock(Block sapling, MapColor color) {
|
||||
super(sapling, color);
|
||||
}
|
||||
|
||||
public PottableLeavesBlock(Block sapling, MaterialColor color, int light) {
|
||||
public PottableLeavesBlock(Block sapling, MapColor color, int light) {
|
||||
super(sapling, color, light);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue