NBT Bee "HasNectar" Tag Sync Error

Started by JaulinEX on Sat, 07/24/2021 - 20:40

Topic category: Help with modding (Java Edition)

Last seen on 15:55, 30. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
NBT Bee "HasNectar" Tag Sync Error
Sat, 07/24/2021 - 20:40

Greetings!

I have a little problem in a procedure, I am trying in an "if" statement to be able to detect when a bee loads pollen using the nbt tag "HasNectar" being 1 when it has and 0 when it does not.
If it has pollen, when you right-click it, it gives it to you and sets the nbt tag back to 0.

The problem is that it is not synchronized between the client and the server, I would appreciate any help solving this problem!

Screenshot of the problem:

https://ibb.co/KGL4yRt

PD:(Yes i know, i tagged the bee in another tag but its for later xD)

 

Att: JaulinEX