Skip to content

Add the useEntityHasLocation feature - #1282

Merged
rom1504 merged 1 commit into
PrismarineJS:masterfrom
u9g:feat/use-entity-has-location
Sep 14, 2026
Merged

rom1504 merged 1 commit into
PrismarineJS:masterfrom
u9g:feat/use-entity-has-location

Conversation

@u9g

@u9g u9g commented Sep 7, 2026

Copy link
Copy Markdown
Member

26.1's `use_entity` is the interact packet with the hit `location` inside it; the `interact_at` then `interact` pair of earlier versions no longer exists (attack is its own packet, covered by `attackUsesOwnPacket`).

```json
{
"name": "useEntityHasLocation",
"description": "use_entity carries the hit location, replacing the interact_at then interact pair",
"versions": ["26.1", "latest"]
}
```

Used by PrismarineJS/mineflayer#4089 to pick which packets `bot.activateEntity` sends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants