Can a block be targeted as entity

Started by TDO on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can a block be targeted as entity

I need to check for items in the whole block inventory, but rn it's only doable for an entity's inventory, but I wonder if there's a way to do these actions for a block if it has block entity, and to target the block as an entity