Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Blir

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Blir's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. In case someone stumbles upon this same issue looking for a solution, in my case the problem was that I needed to run: gradlew genEclipseRuns And then refresh the project in eclipse. (Maybe this is the step that used to be step 5 at the time of this post, but it is now step 6.)
  2. This is my first Forge mod, basically it lets you craft ender eyes together with ores into these "Eyes of Prospecting" that when you right click, they fly towards the ore you crafted it with rather than a stronghold. I copied a lot of the code over from ItemEnderEye & EntityEnderEye since I wouldn't know how to do a lot of it. Everything works as expected, except when you right click, the onItemRightClick method is called twice. This creates two Eyes of Prospecting, where one eye just floats there and never goes away and the other eye acts as expected. However, this only happens sometimes. ItemEyeOfProspecting.java: http://paste.minecraftforge.net/view/44e4c778 In the Item file, if you remove lines 74-77, it happens every time, so I'm guessing that's the bit of code that ItemEnderEye uses to prevent this happening, but it doesn't seem to be working for me. EntityEyeOfProspecting.java: http://paste.minecraftforge.net/view/2112fa4c EnderProspecting.java (main mod class): http://paste.minecraftforge.net/view/022bc3cf Any help is appreciated, thanks in advance.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.