Adding scoreboardtags to entities in 1.8

Discussion in 'Spigot Plugin Development' started by AdamAdam, Jul 20, 2018.

  1. I'm wondering how to add scoreboard tags to entities in 1.8. Like the title said.
    Theres no inbuild function in the entity class. Anyone knows how to add and get tags of entities?
     
  2. NBT tags ? (Use NMS if yes)
     
  3. I trie dNBT tags first too but entities didn't support custom NBT tags in 1.12.2. I don't think it's any diffrent in 1.8.
    In 1.12.2 there was a method called addScoreboardTag
     
  4. Tried it out in various contects. Custom NBT tags are not supposed on entities. I stored data with scoreboard tags in 1.12 but that method doesn't exist in 1.8 as mentioned. Anybody knows a way to replicate or an alternative?
     
  5. And now I realised... This system doesn't exist in 1.8....
    I assume there has to be an alternative, right?