Stairs Not Working

Started by TheUnboundChannel Z on

Topic category: Help with MCreator software

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stairs Not Working


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.

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did you even make stairs?
Sat, 01/07/2017 - 03:54

how did you even make stairs? :D (i want to know.)

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make stairs with this
Sat, 01/07/2017 - 11:46

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.

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Very hard code....  
Sat, 01/07/2017 - 12:29

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)

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
By the way , this is example
Sat, 01/07/2017 - 12:36

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){}

}