-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
Description
[X] The FAQ doesn't contain a resolution to my issue
Versions
- minecraft-protocol: 1.54.0
- server: vanilla/spigot/paper 1.21
- node: 22
Detailed description of a problem
When logging bot._client.on('entity_metadata' in a mineflayer bot, it outputs metadata for text- and block displays, but not for item displays.
Current code
// DEBUG
bot._client.on('entity_metadata', (packet) => {
console.log(`[entity_metadata] Entity: ${packet.entityId}, Metadata:`, packet.metadata || 'MISSING')
})
// or also print out metadata of these, all empty
Object.values(bot.entities).filter(e => e.name === 'item_display')Expected behavior
The protocol should correctly read item_display entities too
Additional context
Thanks in advance for help
Reactions are currently unavailable