It's an issue with the texture. Make sure the directory is correct and that the texture isn't used by any item.
I don't know why the second one is an issue, but I had this problem with a WIP mod I'm making. I had used my texture for another item. Instead of fixing the problem, I just added a particle effect to it and ended up making it much cooler.
In the mod_ file, where you declare your variables (As in the "public static final Item" part), find the emerald armor declaration. As it is right now, it probably says something like this:
public static Item emeraldHelmet = new ItemArmor(1039, EnumArmorMaterial.EMERALD, 0, 0).setItemName("h");
That's not what we wand, though. What we want is for the second parameter in ItemArmor to be changed to this:
ModLoader.addArmor("emerald")
That way, the original line of code should look like this:
public static Item emeraldHelmet = new ItemArmor(1039, EnumArmorMaterial.EMERALD, ModLoader.addArmor("emerald"), 0).setItemName("h");
You will want to do the same thing throughout. Keep in mind that the third parameter in ItemArmor, the zero, defines what piece of armor it is (0 is helmet, 1 is chestplate, etc. etc.)
From here, you just use your own textures and name them emerald_1.png and emerald_2.png.
I think what he means is that you would have a new world load as a new dimension in an existing save file.
It's a good idea, but I think it would be cooler if it was just a GUI for creating a new dimension.
Hello Minecraft Forum!
I have been working on a mod for quite some time now, and the point has been reached at which I need to have an entity fly in a circle. I have looked at several other class files, but I can't seem to figure it out. I know it has something to do with cosines, but if I could get a bit of help, you would have my thanks and +1's.
Well, that's pretty fortunate seeing as there's nothing to click on.
Well, just to let you know, this mod has kind of taken a backseat in favor of two other mods I'm making. Unfortunately it is unlikely that a download link will see daylight soon.
By all means feel free to start working on it. If you wish to gain some additional help, you may also mention this to other modders. Just don't forget to mention where you got the idea.
Also, if you don't mind... could you keep me posted with your work as it unfolds? I'm currently trying to work out some smaller details for the mod (using what little coding I know) and it would be easier to communicate ideas for compiling in the future (if it gets that far).
Cool! I'm experimenting with different methods right now, one that works but I would never, ever, EVER in the name of all that is holy present as a mod. The other methods should work when they're finished and should be a lot better than the first one I mentioned. A little less alternate-dimension-y, if you catch my drift.
I may not be very experienced, but if someone else joined up with this I would help for coding. I'm not quite sure how we could go about this, but it's a very good idea.
Just make a very small explosion. In the createExplosion method, the last float is the intensity of the explosion. Set it to 0.5F or so, that shouldn't break any blocks but the very weakest. You may need to tweak the number a bit.
0
0
0
I don't know why the second one is an issue, but I had this problem with a WIP mod I'm making. I had used my texture for another item. Instead of fixing the problem, I just added a particle effect to it and ended up making it much cooler.
0
That's not what we wand, though. What we want is for the second parameter in ItemArmor to be changed to this:
That way, the original line of code should look like this:
You will want to do the same thing throughout. Keep in mind that the third parameter in ItemArmor, the zero, defines what piece of armor it is (0 is helmet, 1 is chestplate, etc. etc.)
From here, you just use your own textures and name them emerald_1.png and emerald_2.png.
0
It's a good idea, but I think it would be cooler if it was just a GUI for creating a new dimension.
0
I have been working on a mod for quite some time now, and the point has been reached at which I need to have an entity fly in a circle. I have looked at several other class files, but I can't seem to figure it out. I know it has something to do with cosines, but if I could get a bit of help, you would have my thanks and +1's.
0
0
Next poster is murdered by vagineer.
0
I hit the next poster with a companion cube.
0
0
Well, that's pretty fortunate seeing as there's nothing to click on.
Well, just to let you know, this mod has kind of taken a backseat in favor of two other mods I'm making. Unfortunately it is unlikely that a download link will see daylight soon.
0
Cool! I'm experimenting with different methods right now, one that works but I would never, ever, EVER in the name of all that is holy present as a mod. The other methods should work when they're finished and should be a lot better than the first one I mentioned. A little less alternate-dimension-y, if you catch my drift.
0
0
0
Here's the code from memory:
Keep in mind how small this explosion will be, as a creeper is, I think, 2.5F whereas this is 5 times smaller.