I am making a mod right now. Basicly im am wanting to replace useless items like music discs for swords , food. How do i add damage to the swords, and heart healing to the discs(food)? I managed to add them to creative, and made crafting recipes. But i just need to add damage and healing to them respectively. Any functions or codes that can help me with this?
I already knew that. What i meant is that how can i add a item without replacing music discs AKA adding my own ids for them? BTW, also if possible, how to add smelting recipes vía JS (learnin the basics )?
I already knew that. What i meant is that how can i add a item without replacing music discs AKA adding my own ids for them? BTW, also if possible, how to add smelting recipes vía JS (learnin the basics )?
Just select a id with no item in the id
example 73,90,27,26
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
ModPE.setFoodItem(item id,"texture name",texture data value, half hearts healed,"Name");
For Example :
ModPE.setFoodItem(430,"blaze_rod",0, 10,"French Fry");
This Adds A New Food Called French Fry That Heals 5 Hearts..
You Can Get The Texture Name And Texture Data Value From Here :
http://zhuoweizhang.net/mcpetexturenames/
Just select a id with no item in the id
example 73,90,27,26