Stairs Not Working

Started by TheUnboundChannel Z on

Topic category: Help with MCreator software

Active 7 years ago
Joined Dec 2016
Points:
709

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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.

Active 2 years ago
Joined Dec 2016
Points:
799

User statistics:

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

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

Active 4 years ago
Joined Jun 2015
Points:
974

User statistics:

  • Modifications: 3
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 307
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.

Active 1 year ago
Joined Aug 2013
Points:
1160

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 730
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)

Active 1 year ago
Joined Aug 2013
Points:
1160

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 730
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){}

}

 

Active 7 years ago
Joined Dec 2016
Points:
709

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
RE:By the way , this is example
Wed, 01/18/2017 - 23:49

Thnx@#4