Detect if target block = nbt text tag

Started by WHXY on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jul 2019
Points:
676

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Detect if target block = nbt text tag

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?

Active 8 months ago
Joined Apr 2020
Points:
694

User statistics:

  • Modifications: 2
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
like this?  
Mon, 10/31/2022 - 13:05

like this?

 

Active 2 years ago
Joined Jul 2019
Points:
676

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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.

Active 2 years ago
Joined Jul 2019
Points:
676

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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

 

Active 8 months ago
Joined Apr 2020
Points:
694

User statistics:

  • Modifications: 2
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
maybe this works:
Mon, 10/31/2022 - 15:39

maybe this works: