Get entity NBT tags

Started by Olimus192 on

Topic category: Help with MCreator software

Last seen on 19:27, 21. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get entity NBT tags

Hii - so I'm trying to detect the NBT values of entities. In this case, I'm trying to detect if a Creeper's "powered" tag is set to 1b (true) to see if it's charged or not, but whenever I use the "get data logic NBT tag" block, it doesn't seem to be able to tell whether the Creeper's powered logic tag is true or not. I've tried everything I can think of to get it working but so far, no luck - I've even checked out forums, tutorials, etc.

 

Am I doing something wrong, or is it not possible to detect vanilla NBT tags like this?

Last seen on 02:37, 15. Oct 2021
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You'll probably have to use…
Wed, 10/13/2021 - 07:08

You'll probably have to use a command to set a scoreboard value to whether the creeper is charged or not, and then MCreator can detect the value from there.