I am making my 1.8 Forge mod, Super Survival, and I am adding an item called Electronite. It's texture won't show up, and I checked EVERYTHING, and it is all correct. This is the model file called electronite.json:
{
"parent": "builtin/generated",
"textures": {
"layer0": "mymod:items/electronite"
},
"display": {
"thirdperson": {
"rotation": [ -90, 0, 0 ],
"translation": [ 0, 1, -3 ],
"scale": [ 0.55, 0.55, 0.55 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}
I have my texture made, and it is called electronite.png. I use Eclipse, and I checked and nothing was wrong with my code. This was supposed to be released for v2.0 like a week ago. None of my other items besides one is doing this. it is called sapphireSeed.json and sapphireSeed.png. It's model file is:
{
"parent": "builtin/generated",
"textures": {
"layer0": "mymod:items/sapphireSeed"
},
"display": {
"thirdperson": {
"rotation": [ -90, 0, 0 ],
"translation": [ 0, 1, -3 ],
"scale": [ 0.55, 0.55, 0.55 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}
Can someone help??? (If u try to help, u get subscriber, seriously!!! )
{
"parent": "builtin/generated",
"textures": {
"layer0": "mymod:items/electronite"
},
"display": {
"thirdperson": {
"rotation": [ -90, 0, 0 ],
"translation": [ 0, 1, -3 ],
"scale": [ 0.55, 0.55, 0.55 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}
I have my texture made, and it is called electronite.png. I use Eclipse, and I checked and nothing was wrong with my code. This was supposed to be released for v2.0 like a week ago. None of my other items besides one is doing this. it is called sapphireSeed.json and sapphireSeed.png. It's model file is:
{
"parent": "builtin/generated",
"textures": {
"layer0": "mymod:items/sapphireSeed"
},
"display": {
"thirdperson": {
"rotation": [ -90, 0, 0 ],
"translation": [ 0, 1, -3 ],
"scale": [ 0.55, 0.55, 0.55 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}
Can someone help??? (If u try to help, u get subscriber, seriously!!! )
Create an account or sign in to comment.
13
1
I found out my problem. I didn't register the item. Thanks though!
1
I need to see your src/main/resources folder
not src/main/java
not src/main/java
1
1
FAIL
1
[img]file:///home/danny/Desktop/image1.png
[/img]
[img]file:///home/danny/Desktop/image3.png
[/img][img]file:///home/danny/Desktop/image4.png
[/img]
[/img]
[img]file:///home/danny/Desktop/image3.png
[/img][img]file:///home/danny/Desktop/image4.png
[/img]
1
Yes, I am using Eclipse, but what is IDE?
1
IDE is "Integrated Development Environment". Essentially, your IDE is Eclipse.
Can you take a couple screenshots of your Eclipse Package Explorer (left side)
and the .json files of your items?
Can you take a couple screenshots of your Eclipse Package Explorer (left side)
and the .json files of your items?
1
okay I can do that
1
Did you forget to add the item to the ItemRenderRegistry? Sometimes I forget that and spend a few hours trying to figure out the issue.
1
Hey SirBlobman,
Long time no see
Anyways, what you said is completely dependent on what he named his class.
Long time no see
Anyways, what you said is completely dependent on what he named his class.
1
I have had this exact same problem. If all of your files (such as assets/mymod/textures/items/electronite.png) are in the right places, the problem is with your png file. The only way to fix this is by actually copying an image out of minecraft's source files, and then editing the copied image with an image editor to suit what you need.
For example, copy and paste minecraft's dirt.png into your "items" folder, then use pixlr.com to edit it to look how you want.
For example, copy and paste minecraft's dirt.png into your "items" folder, then use pixlr.com to edit it to look how you want.
1
For some reason, it is not working. But my textures look MUUCH better!
1
Can you post a picture of your IDE?
Are you using Eclipse?
Are you using Eclipse?