In case you don't understand I mean, say you defined a block in your mod is there a way to make it so that when you click on it, it opens the crafting table ui?(For MCPE)
Please help! Thank you!
Also I have created an app for making basic mods for mcpe on android. I'm in need of beta testers so please contact [email protected] if interested.
In case you don't understand I mean, say you defined a block in your mod is there a way to make it so that when you click on it, it opens the crafting table ui?(For MCPE)
Please help! Thank you!
Also I have created an app for making basic mods for mcpe on android. I'm in need of beta testers so please contact [email protected] if interested.
The following code should work:
function useItem(x, y, z, itemId, blockId) {
if(blockId == yourBlockId) {
setTile(x, y, z, 58);
setTile(x, y, z, yourBlockId);
}
}
In case you don't understand I mean, say you defined a block in your mod is there a way to make it so that when you click on it, it opens the crafting table ui?(For MCPE)
Please help! Thank you!
Also I have created an app for making basic mods for mcpe on android. I'm in need of beta testers so please contact [email protected] if interested.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe following code should work:
function useItem(x, y, z, itemId, blockId) { if(blockId == yourBlockId) { setTile(x, y, z, 58); setTile(x, y, z, yourBlockId); } }