Started by
TheUnboundChannel Z
on
Topic category: Help with MCreator software
Help! I Was Making Bedrock Stairs, But Several Things Went Wrong. First Off, They Change Directions Like Actual Stairs, Second, Their Hand Model Is Incredibly Large, And The Inventory Sprite Looks Wierd, Lastly, They Dont Even Work. They Look Cool, But You Don't Actually Go Up Them, They Function As A Normal Block. If Anyone Could Help, That Would Be Great.
how did you even make stairs? :D (i want to know.)
You can make stairs with this David
https://mrcrayfish.com/tools?id=mc
If you want to make stairs work you would have to code it in. Its possible to make slabs and doors etc without code. Unfortanetly I don't know any Java, you could try looking online and see if there is any fourms about it.
Very hard code....
block = new BlockStairs(YOUR_FULL_BLOCK.getDefaultState())).setUnlocalizedName("YOUR_STAIRS_UNLOCALIZED_NAME"));
Then just edit your blocks .json blockstate file. That's all. (You will need create 3 model files , straight , inner corner and outer corner)
By the way , this is example how to put it on the code:
public class mcreator_bedrockStairs {
public mcreator_bedrockStairs(){}
public static Block block;
public static Object instance;public int addFuel(ItemStack fuel){return 0;}
public void serverLoad(FMLServerStartingEvent event){}
public void preInit(FMLPreInitializationEvent event){
}
public void registerRenderers(){}
public void load(FMLInitializationEvent event){
if(event.getSide() == Side.CLIENT){
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation("TestEnvironmentMod:bedrockStairs", "inventory"));}
}
static{
block = new BlockStairs(Blocks.bedrock.getDefaultState()).setUnlocalizedName("bedrockStairs"));
}
public void generateSurface(World world, Random random, int chunkX, int chunkZ){}
public void generateNether(World world, Random random, int chunkX, int chunkZ){}
}
Thnx@#4