entity NBT data not syncing between client and server

Started by Frederick the Rad on Wed, 08/14/2019 - 17:05

Topic category: Help with MCreator's application

Last seen on 17:30, 15. Aug 2019
Joined Aug 2019
User points:


  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
entity NBT data not syncing between client and server
Wed, 08/14/2019 - 17:05

so, I've managed to setup nbt data for multiple textures for a custom mob(I tried to use mcreator's method for reading and writing nbt data but that didnt work, so I used NBTTagCompound (readEntityFromNBT and writeEntityFromNBT) that non mcreator forge mods use), I got to set the nbt value on spawn, and read it on the function that reads the texture, and whoop de do, it sets a random texture on spawn for each induvidual one of these mobs.. the problem?
whenever my avatar dies or leaves and rejoins the world, the nbt data changes again, so each mob changes skins every time they get reloaded,.. because I didn't(nor do I know how) set client-server syncing, I tried searching for forge tutorials regarding this online, none of which worked in mcreator, so I would appreciate if I could have some help regarding this issue, I can post code if needed.

0Upvote this forum topic