Getting nbt tags from players. HELP PLEASE!

Started by SlyceDF on

Topic category: Help with modding (Java Edition)

Last seen on 18:50, 11. May 2023
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
Last seen on 22:27, 29. Jan 2023
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