How do I make a beehive-like block?

Started by Real_Kracken on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a beehive-like block?

I tried coding it myself but it isn't working. I used the Entity Collides With Block trigger and used this code in it. Please help! 

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
probably bc the block at the…
Thu, 09/11/2025 - 20:09

probably bc the block at the entity x y z is never going to literally be the hive block unless the mob is literally inside the hive block which ... if you are trying to make the mob enter the block when it touches the block rather than literally being inside the block, then you have to check x + 1, y, z;   x - 1, y, z;   x, y, z + 1;   x, y, z - 1   x, y + 1, z    x, y - 1, z      all of those positions for the block