Getting nbt tags from players. HELP PLEASE!

Started by SlyceDF on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Getting nbt tags from players. HELP PLEASE!
Mon, 01/03/2022 - 20:03 (edited)

So, I have a procedure right here. Don't mind the send message block, it's just for testing. When I try to get player number NBT tags, they return 0.0. I've tried it both with and without the server-side block. I've spent 8 hours on trying to figure this out. Help pls!

The procedure.

Edited by SlyceDF on Mon, 01/03/2022 - 20:03
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You never set the value of…
Wed, 06/29/2022 - 10:22

You never set the value of the XpTotal nbt tag, so it will stay 0.0 as this is he default value