Hello, I am working on an item and I need to do something only once while the right click is pressed.
I looked at some vanilla items and some of them were calling OnItemStoppedUsing, I looked at some forge tutorials, the rifle tutorial is using the same function.
When I use it in my mod it never gets called, do I need to extend something special for it to work?
The problem is that I'm not using an ISimpleBlockRenderingHandler, how could I fix it? It seems like it's happening when I have my custom block in my inventory and I'm not using a tesselator
Hello everyone.
While working on my mod I noticed that certain blocks appear darker in the inventory.
When I place some things on the hotbar, the stack of items appears to have a dark color.
When I place something in the rest of my inventory it's the right color, but, when I pick the stack up it darkens again.
How could I fix the problem, I'm worried that it will break other mods and stuff
Hello everyone.
I am working on a mod and I hit a little break, I need to make something that breaks a block slowly like a tool but when the person presses right click.
I think it's OP to make an item that breaks stuff every tick.
If anyone uses Thaumcraft, they should know about the wand of excavation or how it's called in the new versions, I haven't done mods in a while.
I would like to have something that works kinda like that, how could I do that?
Hello everyone, I'm new to modding, could anyone explain me what I'm going wrong and why I cannot take items out of my container?
Here are my classes:
Container: http://pastebin.com/aEappdw6
TileEntity: http://pastebin.com/u9yCmwUd
GUI: http://pastebin.com/uXDmEpwk
Block: http://pastebin.com/pydEHgUk
I think these are all the classes that I need to give...