跳转至

ItemEnchants

文档版本:r/20_u8
协议版本:671

ItemEnchants类型。该类型用于protocol.type.itemenchants.description

结构

digraph "ItemEnchants" {
rankdir = LR
8
8 -> 9
9 -> 10
8 -> 11
11 -> 12
12 -> 13
11 -> 14
14 -> 15
15 -> 16
14 -> 17
17 -> 18
8 -> 19
19 -> 20
20 -> 21
19 -> 22
22 -> 23
23 -> 24
22 -> 25
25 -> 26
8 -> 27
27 -> 28
28 -> 29
27 -> 30
30 -> 31
31 -> 32
30 -> 33
33 -> 34

8 [label="ItemEnchants",comment="name: \"ItemEnchants\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
9 [label="Slot",comment="name: \"Slot\", typeName: \"\", id: 9, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
10 [label="int",comment="name: \"int\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
11 [label="Item Enchants For Given Activation",comment="name: \"Item Enchants For Given Activation\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
12 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
13 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
14 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
15 [label="Enchant Type",comment="name: \"Enchant Type\", typeName: \"\", id: 15, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
16 [label="byte",comment="name: \"byte\", typeName: \"\", id: 16, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
17 [label="Enchant Level",comment="name: \"Enchant Level\", typeName: \"\", id: 17, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
18 [label="byte",comment="name: \"byte\", typeName: \"\", id: 18, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
19 [label="Item Enchants For Given Activation",comment="name: \"Item Enchants For Given Activation\", typeName: \"\", id: 19, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
20 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 20, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
21 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 21, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
22 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 22, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
23 [label="Enchant Type",comment="name: \"Enchant Type\", typeName: \"\", id: 23, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
24 [label="byte",comment="name: \"byte\", typeName: \"\", id: 24, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
25 [label="Enchant Level",comment="name: \"Enchant Level\", typeName: \"\", id: 25, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
26 [label="byte",comment="name: \"byte\", typeName: \"\", id: 26, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
27 [label="Item Enchants For Given Activation",comment="name: \"Item Enchants For Given Activation\", typeName: \"\", id: 27, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
28 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 28, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
29 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 29, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
30 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 30, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
31 [label="Enchant Type",comment="name: \"Enchant Type\", typeName: \"\", id: 31, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
32 [label="byte",comment="name: \"byte\", typeName: \"\", id: 32, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
33 [label="Enchant Level",comment="name: \"Enchant Level\", typeName: \"\", id: 33, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
34 [label="byte",comment="name: \"byte\", typeName: \"\", id: 34, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;10;13;16;18;21;24;26;29;32;34}

}

字段

ItemEnchants
[slot][item_enchants_for_given_activation][item_enchants_for_given_activation][item_enchants_for_given_activation]
Slot:int
基本类型。protocol.type.itemenchants.slot.description
Item Enchants For Given Activation
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.array_size.description
示例元素
[enchant_type][enchant_level]
Enchant Type:byte
基本类型枚举。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_type.description枚举值如下:
描述
ArmorAll 0 protocol.enum.armorall
ArmorFire 1 protocol.enum.armorfire
ArmorFall 2 protocol.enum.armorfall
ArmorExplosive 3 protocol.enum.armorexplosive
ArmorProjectile 4 protocol.enum.armorprojectile
ArmorThorns 5 protocol.enum.armorthorns
WaterBreath 6 protocol.enum.waterbreath
WaterSpeed 7 protocol.enum.waterspeed
WaterAffinity 8 protocol.enum.wateraffinity
WeaponDamage 9 protocol.enum.weapondamage
WeaponUndead 10 protocol.enum.weaponundead
WeaponArthropod 11 protocol.enum.weaponarthropod
WeaponKnockback 12 protocol.enum.weaponknockback
WeaponFire 13 protocol.enum.weaponfire
WeaponLoot 14 protocol.enum.weaponloot
MiningEfficiency 15 protocol.enum.miningefficiency
MiningSilkTouch 16 protocol.enum.miningsilktouch
MiningDurability 17 protocol.enum.miningdurability
MiningLoot 18 protocol.enum.miningloot
BowDamage 19 protocol.enum.bowdamage
BowKnockback 20 protocol.enum.bowknockback
BowFire 21 protocol.enum.bowfire
BowInfinity 22 protocol.enum.bowinfinity
FishingLoot 23 protocol.enum.fishingloot
FishingLure 24 protocol.enum.fishinglure
FrostWalker 25 protocol.enum.frostwalker
Mending 26 protocol.enum.mending
CurseBinding 27 protocol.enum.cursebinding
CurseVanishing 28 protocol.enum.cursevanishing
TridentImpaling 29 protocol.enum.tridentimpaling
TridentRiptide 30 protocol.enum.tridentriptide
TridentLoyalty 31 protocol.enum.tridentloyalty
TridentChanneling 32 protocol.enum.tridentchanneling
CrossbowMultishot 33 protocol.enum.crossbowmultishot
CrossbowPiercing 34 protocol.enum.crossbowpiercing
CrossbowQuickCharge 35 protocol.enum.crossbowquickcharge
SoulSpeed 36 protocol.enum.soulspeed
SwiftSneak 37 protocol.enum.swiftsneak
NumEnchantments 38 protocol.enum.numenchantments
InvalidEnchantment 39 protocol.enum.invalidenchantment
Enchant Level:byte
基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_level.description
Item Enchants For Given Activation
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.array_size.description
示例元素
[enchant_type][enchant_level]
Enchant Type:byte
基本类型枚举。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_type.description枚举值如下:
描述
ArmorAll 0 protocol.enum.armorall
ArmorFire 1 protocol.enum.armorfire
ArmorFall 2 protocol.enum.armorfall
ArmorExplosive 3 protocol.enum.armorexplosive
ArmorProjectile 4 protocol.enum.armorprojectile
ArmorThorns 5 protocol.enum.armorthorns
WaterBreath 6 protocol.enum.waterbreath
WaterSpeed 7 protocol.enum.waterspeed
WaterAffinity 8 protocol.enum.wateraffinity
WeaponDamage 9 protocol.enum.weapondamage
WeaponUndead 10 protocol.enum.weaponundead
WeaponArthropod 11 protocol.enum.weaponarthropod
WeaponKnockback 12 protocol.enum.weaponknockback
WeaponFire 13 protocol.enum.weaponfire
WeaponLoot 14 protocol.enum.weaponloot
MiningEfficiency 15 protocol.enum.miningefficiency
MiningSilkTouch 16 protocol.enum.miningsilktouch
MiningDurability 17 protocol.enum.miningdurability
MiningLoot 18 protocol.enum.miningloot
BowDamage 19 protocol.enum.bowdamage
BowKnockback 20 protocol.enum.bowknockback
BowFire 21 protocol.enum.bowfire
BowInfinity 22 protocol.enum.bowinfinity
FishingLoot 23 protocol.enum.fishingloot
FishingLure 24 protocol.enum.fishinglure
FrostWalker 25 protocol.enum.frostwalker
Mending 26 protocol.enum.mending
CurseBinding 27 protocol.enum.cursebinding
CurseVanishing 28 protocol.enum.cursevanishing
TridentImpaling 29 protocol.enum.tridentimpaling
TridentRiptide 30 protocol.enum.tridentriptide
TridentLoyalty 31 protocol.enum.tridentloyalty
TridentChanneling 32 protocol.enum.tridentchanneling
CrossbowMultishot 33 protocol.enum.crossbowmultishot
CrossbowPiercing 34 protocol.enum.crossbowpiercing
CrossbowQuickCharge 35 protocol.enum.crossbowquickcharge
SoulSpeed 36 protocol.enum.soulspeed
SwiftSneak 37 protocol.enum.swiftsneak
NumEnchantments 38 protocol.enum.numenchantments
InvalidEnchantment 39 protocol.enum.invalidenchantment
Enchant Level:byte
基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_level.description
Item Enchants For Given Activation
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.array_size.description
示例元素
[enchant_type][enchant_level]
Enchant Type:byte
基本类型枚举。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_type.description枚举值如下:
描述
ArmorAll 0 protocol.enum.armorall
ArmorFire 1 protocol.enum.armorfire
ArmorFall 2 protocol.enum.armorfall
ArmorExplosive 3 protocol.enum.armorexplosive
ArmorProjectile 4 protocol.enum.armorprojectile
ArmorThorns 5 protocol.enum.armorthorns
WaterBreath 6 protocol.enum.waterbreath
WaterSpeed 7 protocol.enum.waterspeed
WaterAffinity 8 protocol.enum.wateraffinity
WeaponDamage 9 protocol.enum.weapondamage
WeaponUndead 10 protocol.enum.weaponundead
WeaponArthropod 11 protocol.enum.weaponarthropod
WeaponKnockback 12 protocol.enum.weaponknockback
WeaponFire 13 protocol.enum.weaponfire
WeaponLoot 14 protocol.enum.weaponloot
MiningEfficiency 15 protocol.enum.miningefficiency
MiningSilkTouch 16 protocol.enum.miningsilktouch
MiningDurability 17 protocol.enum.miningdurability
MiningLoot 18 protocol.enum.miningloot
BowDamage 19 protocol.enum.bowdamage
BowKnockback 20 protocol.enum.bowknockback
BowFire 21 protocol.enum.bowfire
BowInfinity 22 protocol.enum.bowinfinity
FishingLoot 23 protocol.enum.fishingloot
FishingLure 24 protocol.enum.fishinglure
FrostWalker 25 protocol.enum.frostwalker
Mending 26 protocol.enum.mending
CurseBinding 27 protocol.enum.cursebinding
CurseVanishing 28 protocol.enum.cursevanishing
TridentImpaling 29 protocol.enum.tridentimpaling
TridentRiptide 30 protocol.enum.tridentriptide
TridentLoyalty 31 protocol.enum.tridentloyalty
TridentChanneling 32 protocol.enum.tridentchanneling
CrossbowMultishot 33 protocol.enum.crossbowmultishot
CrossbowPiercing 34 protocol.enum.crossbowpiercing
CrossbowQuickCharge 35 protocol.enum.crossbowquickcharge
SoulSpeed 36 protocol.enum.soulspeed
SwiftSneak 37 protocol.enum.swiftsneak
NumEnchantments 38 protocol.enum.numenchantments
InvalidEnchantment 39 protocol.enum.invalidenchantment
Enchant Level:byte
基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_level.description