The Meaning of Life, the Universe, and Everything.
Join Date:
1/8/2014
Posts:
59
Member Details
Hello its a me Ario and i need some help in modding. I have two problems, 1 i need help with using a while loop or maybe a counting script that would do a certain thing until a variable equals a certain number, anything along the lines of that. And I also need help with making and texturing items. I believe I know how to make an item but i have no idea how to choose a texture for it. Please help and i hope this not spam but i don't think it is and also I am new so i apoligize if it is spam.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/8/2014
Posts:
59
Member Details
Ok thanks well thats one problem fixed i have messed around with the while loop a little bit and it works thanks for the help but now i just need help with texturing items
Ok thanks well thats one problem fixed i have messed around with the while loop a little bit and it works thanks for the help but now i just need help with texturing items
If you are on PC, I know it seems ridiculous, but MS Paint is useful for texturing items. Although, you have to replace textures. You can't just add new ones. On Mac, look for an app called PaintBrush. Identical to MS Paint.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/8/2014
Posts:
59
Member Details
Thanks for the help and the reason I need to know how to make items is because of an enchantments mod I would like to make where i will have to make an enchantment table (possibly) and also make enchanted tools. And thanks @Jorge1232 didn't think about that I will definitely be doing something like that i might have to use texture packs for the mod to work correctly.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/8/2014
Posts:
59
Member Details
Ok well I need help again and now i need help with the Block.setDestroyTime function its not effecting the item's mine speed even when i don't use variables so i believe that either i made a silly mistake or i am not using the function right, so could someone show me the correct format for the function please?
Ok well I need help again and now i need help with the Block.setDestroyTime function its not effecting the item's mine speed even when i don't use variables so i believe that either i made a silly mistake or i am not using the function right, so could someone show me the correct format for the function please?
Are you using it on a custom (new) block, or a existing block?
And the function does not work on items. It's used for blocks.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/8/2014
Posts:
59
Member Details
I know items don't have mine times but i need to set the minetime to something shorter and here is an example script not the actual script though and here it is
if (Player.getSelectedSlotId() == 23)
{
Block.setDestroyTime(1, 1);
}
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
If you are on PC, I know it seems ridiculous, but MS Paint is useful for texturing items. Although, you have to replace textures. You can't just add new ones. On Mac, look for an app called PaintBrush. Identical to MS Paint.
And the function does not work on items. It's used for blocks.
if (Player.getSelectedSlotId() == 23)
{
Block.setDestroyTime(1, 1);
}