← Type index

ItemEnchantOption

A helper to group a potential enchantment by its name, cost, and resulting enchanted item -- effectively a mini-recipe.

Object datagramWire order
0Costuint8 · 1 byte
1EnchantsItemEnchants · variable
2Enchant Namestring · variable
3Enchant Net IdRecipeNetId · variable

Fields

4 top-level fields
  1. 0Costuint8
  2. 1EnchantsItemEnchants
    1. 0Slotint32
    2. 1ItemEnchantsarray<array<EnchantmentInstance>>
  3. 2Enchant Namestring
  4. 3Enchant Net IdRecipeNetId
    1. 0Raw IdCompressionvaruint32

Packet references

1 reference
  1. PlayerEnchantOptionsPacket
    Options › ItemEnchantOption

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.