Solved [NBT] UUIDLeast and UUIDMost?

Discussion in 'Spigot Plugin Development' started by WiseHollow, Aug 11, 2018.

Thread Status:
Not open for further replies.
  1. What is UUIDLeast and UUIDMost in relation to modifying the NBT Attributes of a piece of armor? I've been searching around online and can't find any information on it.

    Code (Text):

    armor.set("AttributeName", new NBTTagString("generic.armor"));
    armor.set("Name", new NBTTagString("generic.armor"));
    armor.set("Amount", new NBTTagInt(8));
    armor.set("Operation", new NBTTagInt(0));
    armor.set("UUIDLeast", new NBTTagInt(894654)); // what are these values for??
    armor.set("UUIDMost", new NBTTagInt(2872));// what are these values for??
     
     
  2. Probably least significant and most significant bits (i.e. the UUID is split up in 2 parts)
     
  3. #3 Michel_0, Aug 12, 2018
    Last edited: Aug 12, 2018
    • Informative Informative x 2
Thread Status:
Not open for further replies.