← Back to Index

PlayerEnchantOptionsPacket (146)

Sends the of new Enchanting options from the server when a player right clicks the enchantment table.
Field Name Type Field Index Description
Options (Required) array<ItemEnchantOption> 0 The array of enchantment options available to the player

ItemEnchantOption (Array Item)

Field Name Type Field Index Description
Cost (Required) uint8 0
Enchants (Required) ItemEnchants 1

ItemEnchants

Field Name Type Field Index Description
Slot (Required) int32 0
ItemEnchants (Required) array<array> 1
Enchant Name (Required) string 2
Enchant Net Id (Required) RecipeNetId 3

RecipeNetId

Field Name Type Field Index Description
Raw Id (Required) varuint32 0