Not entirely sure but I think this never really has worked, I could be (and probably am) wrong but it has never worked for me, you're better off using a texture pack so it doesn't override an existing texture here is how to do it,
using the default texture pack layout in the images folder make a new folder called items_opaque so youll now have something like this
name.zip/assets/images/items_opaque
now take your 16*16 texture and name it anything you want and add an underscore then the items data (usually always 0 but it can be anything) like this
customItemName_0.png
next zip up the pack and install it in block launcher (enable the texture pack before the mod or youll get an error)
now in your mod instead of using blaze rod change it to your custom items name like this
Now when the mod is loaded block launcher will read the texture from the texture pack and no other texture will be overridden
If you already knew all of this well... that was a waste of 10 minutes o.o
Edit:
A few options though...
code can be quite finicky so before you try the above option, swap the order of the code so the item is created before it tries to override the image
Upload the image using puush, imgur or something so you have a direct url to the image like this
http://somethingblah/blah.png
use mediafire instead of dropbox?
make sure the items_opaque.png is for the version of minecraft youre running, like if your dropbox link is for a 0.13 texture and youre running 0.14 it won't work
Hopefully some of this helps you or anyone reading it, and sorry for my bad grandma (that was a pun, i know, it was lame)
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumHey,
Ive been trying to get custom textures in my mcpe mod but i cant get it to work., ill give you the script im using
ModPE.overrideTexture("images/items-opaque.png", "my drop box link to items_opaque");
ModPE.setItem(369, "blaze_rod", 0, "Blood Rod");
Btw the blaze rod is the item i edited and i made it red!
Ok and if you say to make a var thing, dont. I tried and it doesnt make a difference
2. Its in the wrong order? the other way brings up an error msg in block launcher (same with the var)
Plz help!
Not entirely sure but I think this never really has worked, I could be (and probably am) wrong but it has never worked for me, you're better off using a texture pack so it doesn't override an existing texture here is how to do it,
using the default texture pack layout in the images folder make a new folder called items_opaque so youll now have something like this
now take your 16*16 texture and name it anything you want and add an underscore then the items data (usually always 0 but it can be anything) like this
next zip up the pack and install it in block launcher (enable the texture pack before the mod or youll get an error)
now in your mod instead of using blaze rod change it to your custom items name like this
Now when the mod is loaded block launcher will read the texture from the texture pack and no other texture will be overridden
If you already knew all of this well... that was a waste of 10 minutes o.o
Edit:
A few options though...
code can be quite finicky so before you try the above option, swap the order of the code so the item is created before it tries to override the image
Upload the image using puush, imgur or something so you have a direct url to the image like this
http://somethingblah/blah.png
use mediafire instead of dropbox?
make sure the items_opaque.png is for the version of minecraft youre running, like if your dropbox link is for a 0.13 texture and youre running 0.14 it won't work
Hopefully some of this helps you or anyone reading it, and sorry for my bad grandma (that was a pun, i know, it was lame)
Like I said, you can use puush or imgur to get a direct link like this