- Code_Cloud
- Registered Member
-
Member for 9 years, 7 months, and 29 days
Last active Fri, Sep, 9 2016 01:07:53
- 5 Followers
- 56 Total Posts
- 15 Thanks
-
1
Haroldtechandgameplay posted a message on Craftable Eggs v1.0Great mod!Posted in: MCPE: Mods / Tools -
1
MrAndyPE posted a message on Question for all modders and texturers!Yeah I saw that but it does not work... I think it's because of 0.9.x...Posted in: MCPE: Mod / Tool Help & Requests -
11
Darkserver posted a message on Editing with Items.meta Now you can add completely custom texturesUpon popular request I've decided to tell how I've been able to add items to the items-opaque.png.Posted in: MCPE: Mod / Tool Help & Requests
Just a warning I suck at tutorials and I would wait for another person to explain it better.
So items.meta and the terrain.meta are basically maps of the terrain-atlas.tga and items-opaque.png
the terrain-atlas.tga; when converted to a .png is 512x256 and the items-opaque is 256x256
the parameters to add an items image to the meta is set up like this
{"uv":[startX,startY,endX,endY,imageXsize,imageYsize],"name":"Item Name","additonal_textures":[]}
Finding the coordinates:
when doing this you want to think about this very simple. the top left corner of the items-opaque.png is 0.0
every item on here have there own "box" made up of a 16x16 space. basic stuff. so the top left of the box is the starting points startX and startY, the bottom right of the box is the endX and the endY. each pf these coordinates will be a multiple of 16. so the golden apples coordinates are gonna be 16,0,32,16 startX is 16 from the edge, startY is 0 from the edge, endX is 32 from the edge, and endY is 16 from the edge. so the end values are gonna be 16 more than the start values. now just these coordinates cannot be put into items.meta because thats now how minecraft reads them. to make this format take the coordinate and divide by 256. for example golden apples coordinate is now 0.0625,0.0,0.125,0.0625 and this is acceptable to put into the items.meta.
so now to create my own texture name I would add {"uv":[0.0625,0.0,0.125,0.0625,256,256],"name":"custom_item","additonal_textures":[]}
but make sure before you add this to the items.meta make sure you add this line in the brackets [] of the .meta
this method could also be achievable in the terrain.meta but the x coordinates (startX, endX) would have to be divided by 512 because the image is 512 wide.
if this isn't made clear hopefully someone will understand it and make a better tutorial because I am terrible at making tutorials. hope this helps
-Dark - To post a comment, please login.
1
Note: Not everything promised in the update will be in the upcoming version. Two things that are definite is that it will support the latest version of Mcpe also that world hiding will be added
Everthing else promised will be worked on for a different version. Thanks everyone for there patience