Add custom entity in hashset

Discussion in 'Plugin Development' started by stonebloodtv, Jan 1, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    stonebloodtv

    -snip- ;)
     
    Last edited: Jan 2, 2015
  2. Offline

    AlphaRLee

    To start, I'll admit that I'm not very familiar with HashSets, though I am doing something similar with ArrayLists. It appears that there is no such thing as a get() method for HashSets (please correct me if I'm wrong), so that might be one big contributing factor for why you can't remove your entity.

    This code is pretty hard to understand. Can you fix this by adding more details? Specifically, I'd like to see the code for ZombieTest, and the eventhandler surrounding the mob's death. Post those, and I can help you more.
     
Thread Status:
Not open for further replies.

Share This Page