Detect if target block = nbt text tag

Started by WHXY on Mon, 10/31/2022 - 10:51

Topic category: Help with modding (Java Edition)

Last seen on 14:21, 16. Dec 2022
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detect if target block = nbt text tag
Mon, 10/31/2022 - 10:51

I want to make something like this
Is [Get block at _ _ _] the same block as [Get NBT text tag "____" of block at _ _ _ if it has block entity]
but its not possible, is there any other option or block I can use to make something like this?

Last seen on 12:16, 22. Jan 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
like this?  
Mon, 10/31/2022 - 13:05

like this?

 

Last seen on 14:21, 16. Dec 2022
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
no, I want to detect the…
Mon, 10/31/2022 - 15:04

no, I want to detect the block using text generated by the nbt text tag instead of the minecraft component block.

Last seen on 14:21, 16. Dec 2022
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
pretty much the text tag…
Mon, 10/31/2022 - 15:05

pretty much the text tag would contain a block name and using the tag it would detect the block

 

Last seen on 12:16, 22. Jan 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
maybe this works:
Mon, 10/31/2022 - 15:39

maybe this works: