InteractionProxy
com.jsmacrosce.jsmacros.client.api.classes.InteractionProxy
Internal client-side proxy for crosshair-target, block-breaking, and held-interaction overrides.
Scripts access these overrides through the player's interaction manager:
js
const interactions = Player.getInteractionManager();
if (interactions !== null) {
if (interactions.hasTargetOverride()) {
interactions.clearTargetOverride();
}
}Nested types
Constructors
new InteractionProxy
new InteractionProxy()#Methods
reset
Restores target-check defaults and clears the target, break, and held-interaction overrides. Pending break callbacks receive
RESET with no position; client-side block breaking is stopped unless the attack key is held. The game also calls this on world join and disconnect.