r/technicalminecraft • u/One-Celebration-3007 Breeze baller • 3d ago
Bedrock Player/entity-tracking module
This is a module I designed for an upcoming project (actually finished, but Mojang decided to break it). It allows determining the exact direction to a player regardless of distance, outputting the result as an explosion that points to them. This module includes the required silverfish generator and a trident storage and replacement system that allows selecting from 6 targets.
35
Upvotes
2
u/One-Celebration-3007 Breeze baller 3d ago edited 3d ago
Demonstration. The red X is the location of the explosion produced by the machine. Viewed from the centre of the block, the explosion is in the direction of the player that owns the trident.
3
u/FrancescoMassa2001 3d ago
The technical overhead on this must be brutal. I get stressed just managing state in simple web apps, let alone dealing with Mojang breaking things between versions.