I'm just using RenderSnowball, so I honestly don't know what the problem is. Btw, some of the ninja star stuff was commented out when i pastebinned this, so ignore that; it was just for my mod's update without ninja stars included.
And btw, I included just the link to pastebin, is that what you meant when you said to use it or is there a certain trick you can do to embed the pastebin formatting? Just checking for curiosity.
Alright, I've updated forge with the stable_16 mappings. It looks to me like on line 94 all the if statement does is check if the player placed a liquid, then returns the empty bucket and an achievement? It doesn't look like water actually gets placed in the onItemRightClick method. Where does the action of placing water actually take place, I also checked tryPlaceContainedLiquid, and all I can find in that method is sound effects and particles going off. And I don't quite understand how getMovingObjectPositionFromPlayer is used to place water, I can only see how it's used to pick up liquid.
Sorry... what are stable_16 MCP mappings? And the latest Forge build doesn't seem to be working.... it just shows up with an MDKExample project that you can't open.
I can't seem to see where onItemRightClick keeps the code to place a water block, I can only seem to find where an empty bucket would pick up a water/lava block.
You're telling me to add an Override on Item#onItemRightClick, but I'm not sure what I would put in that method; would it be to call the tryPlaceContainedLiquid method or what? Sorry, making sense of code is always a struggle for me.
0
Thank you!! I don't know why I made that mistake!!!
0
Oh wait, I forgot to include that upon right clicking with the Ninja Star, there is a client crash.
I have no idea why this is happening!! Please help!!
Here is the stacktrace:
0
Hey man, my throwing star isn't working for 1.8.1. Has anything changed?
Here are my classes:
Main:
http://pastebin.com/ZD6gC9XA
Items:
http://pastebin.com/ySnxHHQb
Ninja Star:
http://pastebin.com/Vn3NWFrL
Client Proxy:
http://pastebin.com/nfpEedpq
Entity Ninja Star:
http://pastebin.com/dCcnRD5Y
I'm just using RenderSnowball, so I honestly don't know what the problem is. Btw, some of the ninja star stuff was commented out when i pastebinned this, so ignore that; it was just for my mod's update without ninja stars included.
0
Alright, fixed everything! Thanks again for all your help man you're my hero!
0
bump
0
Ok I got it working! Thanks so much for all your help!!
Just so that no weird glitches happen, or for the sake of less code, is there anything I need to change or can remove?
ItemWaterKatana:
http://pastebin.com/gWQuCURj
And btw, I included just the link to pastebin, is that what you meant when you said to use it or is there a certain trick you can do to embed the pastebin formatting? Just checking for curiosity.
0
bump
0
Alright, I've updated forge with the stable_16 mappings. It looks to me like on line 94 all the if statement does is check if the player placed a liquid, then returns the empty bucket and an achievement? It doesn't look like water actually gets placed in the onItemRightClick method. Where does the action of placing water actually take place, I also checked tryPlaceContainedLiquid, and all I can find in that method is sound effects and particles going off. And I don't quite understand how getMovingObjectPositionFromPlayer is used to place water, I can only see how it's used to pick up liquid.
0
Sorry... what are stable_16 MCP mappings? And the latest Forge build doesn't seem to be working.... it just shows up with an MDKExample project that you can't open.
0
Can you specify what line numbers you see these? I can't find them.
0
Thanks for the tip, in the future I will do that!
I can't seem to see where onItemRightClick keeps the code to place a water block, I can only seem to find where an empty bucket would pick up a water/lava block.
You're telling me to add an Override on Item#onItemRightClick, but I'm not sure what I would put in that method; would it be to call the tryPlaceContainedLiquid method or what? Sorry, making sense of code is always a struggle for me.
0
bump
0
bump....
1
updated to 1.8.8!!
0
bump