[SOLVED] Change entity UUID?

Discussion in 'Spigot Plugin Development' started by MFrontiers, May 20, 2015.

  1. Is it possible to change a mob Entity's UUID to something else?
    • Like Like x 1
  2. Why would you want to do this? o_O
  3. Also, the player UUID is protected you can't change it
  4. You say "can't" like you're just asking me to prove otherwise
    • Like Like x 1
    • Agree Agree x 1
    • Funny Funny x 1
  5. Thanks for the input. You are right that there are better solutions to my ideas. I was just wondering how editable the UUIDs are - especially for mobs.

    I ended up creating a HashMap that maps the current UUIDs onto other IDs I have stored elsewhere.
    • Like Like x 2

  6. I use a mob handling system that handles pretty similarly.
  7. They're universal IDs for a reason, changing them wouldn't make sense.

    Storing a reference of a UUID under your specific ID is ideal.