HELP Custom Raytrace from Block

Started by Soul of Cinder on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
HELP Custom Raytrace from Block

Hello, I'm working on a custom landmine block that detect nearby players and explode only if the player is actually visible (not behind a wall or solid block). Is there a clean way to perform ray tracing from a block’s position (not from an entity), using only MCreator procedures or plugins? Or at least a more efficient workaround that doesn’t rely on spawning and removing fake entities? or do i have to use custom code? Thanks in advance.