Rubber Plank stairs got textures
This commit is contained in:
parent
f6d94647e2
commit
f6579f5c2c
11 changed files with 77 additions and 57 deletions
|
@ -26,7 +26,6 @@ package techreborn.blocks;
|
|||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.TechReborn;
|
||||
|
@ -34,8 +33,8 @@ import techreborn.init.TRContent;
|
|||
|
||||
public class BlockRubberPlankStair extends BlockStairs {
|
||||
|
||||
public BlockRubberPlankStair(IBlockState modelState, String name) {
|
||||
super(modelState, Block.Properties.from(TRContent.RUBBER_PLANKS));
|
||||
public BlockRubberPlankStair() {
|
||||
super(TRContent.RUBBER_PLANKS.getDefaultState(), Block.Properties.from(TRContent.RUBBER_PLANKS));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
}
|
|
@ -88,8 +88,7 @@ public class RegistryEventHandler {
|
|||
ItemBlockRubberSapling.class,
|
||||
"rubber_sapling");
|
||||
RebornRegistry.registerBlockNoItem(TRContent.RUBBER_LOG_SLAB = InitUtils.setup(new BlockRubberPlankSlab("rubber_plank"), "rubber_plank_slab"));
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_LOG_STAIR = InitUtils.setup(new BlockRubberPlankStair(TRContent.RUBBER_LOG.getDefaultState(), "rubber_plank"),
|
||||
"rubber_plank_stair"), new Item.Properties());
|
||||
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");
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ public class TRContent {
|
|||
public static Block RUBBER_LEAVES;
|
||||
public static Block RUBBER_LOG;
|
||||
public static Block RUBBER_LOG_SLAB;
|
||||
public static Block RUBBER_LOG_STAIR;
|
||||
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