More rubber stuff
This commit is contained in:
parent
9079765bc9
commit
d2db53f6f2
7 changed files with 27 additions and 24 deletions
|
@ -34,11 +34,9 @@ import reborncore.client.models.RebornModelRegistry;
|
|||
import techreborn.TechReborn;
|
||||
|
||||
public class BlockRubberPlankSlab extends BlockSlab {
|
||||
public final String name;
|
||||
|
||||
public BlockRubberPlankSlab(String name) {
|
||||
public BlockRubberPlankSlab() {
|
||||
super(Block.Properties.create(Material.WOOD, MaterialColor.OBSIDIAN).hardnessAndResistance(2.0F, 15.0F).sound(SoundType.WOOD));
|
||||
this.name = name;
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ public class RegistryEventHandler {
|
|||
RebornRegistry.registerBlock(TRContent.RUBBER_SAPLING = InitUtils.setup(new BlockRubberSapling(), "rubber_sapling"),
|
||||
ItemBlockRubberSapling.class,
|
||||
"rubber_sapling");
|
||||
RebornRegistry.registerBlockNoItem(TRContent.RUBBER_LOG_SLAB = InitUtils.setup(new BlockRubberPlankSlab("rubber_plank"), "rubber_plank_slab"));
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_PLANK_SLAB = InitUtils.setup(new BlockRubberPlankSlab(), "rubber_plank_slab"), new Item.Properties().group(TechReborn.ITEMGROUP));
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_PLANK_STAIR = InitUtils.setup(new BlockRubberPlankStair(), "rubber_plank_stair"), new Item.Properties().group(TechReborn.ITEMGROUP));
|
||||
|
||||
TechReborn.LOGGER.debug("TechReborns Blocks Loaded");
|
||||
|
|
|
@ -67,7 +67,7 @@ public class TRContent {
|
|||
public static Block REINFORCED_GLASS;
|
||||
public static Block RUBBER_LEAVES;
|
||||
public static Block RUBBER_LOG;
|
||||
public static Block RUBBER_LOG_SLAB;
|
||||
public static Block RUBBER_PLANK_SLAB;
|
||||
public static Block RUBBER_PLANK_STAIR;
|
||||
public static Block RUBBER_PLANKS;
|
||||
public static Block RUBBER_SAPLING;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue