Overlay DeSync from NBT Tag when entering a new dimensions.

Started by LaTortiia on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:52, 20. Jan 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overlay DeSync from NBT Tag when entering a new dimensions.

I have seen other forums and haven't found anything that solves this, I'm making a fallout type mod and I created a custom helmet called Gas Mask.

The gas mask has a Number NBT Tag worth 5m in ticks (to give 5 min of radiation protection), and I have also a Overlay that shows how many minutes are left.

The problem is that when entering a new dimension, the Number NBT Tag maintains it's value, but the Overlay shows 0.0

Is this a bug? How can I fix this?

 

Thanks beforehand.

If you use nbt on player,…
Wed, 01/06/2021 - 13:13

If you use nbt on player, use player variables as nbt is not synced by MC design by default.