ItemEnchants¶
文档版本:r/21_u4
协议版本:748
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
- 数组大小:unsigned varint
- 基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.array_size.description
- Enchant Type:byte
- 基本类型枚举。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_type.description枚举值如下:
-
键 值 描述 Protection0protocol.enum.protection FireProtection1protocol.enum.fireprotection FeatherFalling2protocol.enum.featherfalling BlastProtection3protocol.enum.blastprotection ProjectileProtection4protocol.enum.projectileprotection Thorns5protocol.enum.thorns Respiration6protocol.enum.respiration DepthStrider7protocol.enum.depthstrider AquaAffinity8protocol.enum.aquaaffinity Sharpness9protocol.enum.sharpness Smite10protocol.enum.smite BaneOfArthropods11protocol.enum.baneofarthropods Knockback12protocol.enum.knockback FireAspect13protocol.enum.fireaspect Looting14protocol.enum.looting Efficiency15protocol.enum.efficiency SilkTouch16protocol.enum.silktouch Unbreaking17protocol.enum.unbreaking Fortune18protocol.enum.fortune Power19protocol.enum.power Punch20protocol.enum.punch Flame21protocol.enum.flame Infinity22protocol.enum.infinity LuckOfTheSea23protocol.enum.luckofthesea Lure24protocol.enum.lure FrostWalker25protocol.enum.frostwalker Mending26protocol.enum.mending CurseOfBinding27protocol.enum.curseofbinding CurseOfVanishing28protocol.enum.curseofvanishing Impaling29protocol.enum.impaling Riptide30protocol.enum.riptide Loyalty31protocol.enum.loyalty Channeling32protocol.enum.channeling Multishot33protocol.enum.multishot Piercing34protocol.enum.piercing QuickCharge35protocol.enum.quickcharge SoulSpeed36protocol.enum.soulspeed SwiftSneak37protocol.enum.swiftsneak WindBurst38protocol.enum.windburst Density39protocol.enum.density Breach40protocol.enum.breach NumEnchantments41protocol.enum.numenchantments InvalidEnchantment42protocol.enum.invalidenchantment
- Enchant Level:byte
- 基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_level.description
- 数组大小:unsigned varint
- 基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.array_size.description
- Enchant Type:byte
- 基本类型枚举。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_type.description枚举值如下:
-
键 值 描述 Protection0protocol.enum.protection FireProtection1protocol.enum.fireprotection FeatherFalling2protocol.enum.featherfalling BlastProtection3protocol.enum.blastprotection ProjectileProtection4protocol.enum.projectileprotection Thorns5protocol.enum.thorns Respiration6protocol.enum.respiration DepthStrider7protocol.enum.depthstrider AquaAffinity8protocol.enum.aquaaffinity Sharpness9protocol.enum.sharpness Smite10protocol.enum.smite BaneOfArthropods11protocol.enum.baneofarthropods Knockback12protocol.enum.knockback FireAspect13protocol.enum.fireaspect Looting14protocol.enum.looting Efficiency15protocol.enum.efficiency SilkTouch16protocol.enum.silktouch Unbreaking17protocol.enum.unbreaking Fortune18protocol.enum.fortune Power19protocol.enum.power Punch20protocol.enum.punch Flame21protocol.enum.flame Infinity22protocol.enum.infinity LuckOfTheSea23protocol.enum.luckofthesea Lure24protocol.enum.lure FrostWalker25protocol.enum.frostwalker Mending26protocol.enum.mending CurseOfBinding27protocol.enum.curseofbinding CurseOfVanishing28protocol.enum.curseofvanishing Impaling29protocol.enum.impaling Riptide30protocol.enum.riptide Loyalty31protocol.enum.loyalty Channeling32protocol.enum.channeling Multishot33protocol.enum.multishot Piercing34protocol.enum.piercing QuickCharge35protocol.enum.quickcharge SoulSpeed36protocol.enum.soulspeed SwiftSneak37protocol.enum.swiftsneak WindBurst38protocol.enum.windburst Density39protocol.enum.density Breach40protocol.enum.breach NumEnchantments41protocol.enum.numenchantments InvalidEnchantment42protocol.enum.invalidenchantment
- Enchant Level:byte
- 基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_level.description
- 数组大小:unsigned varint
- 基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.array_size.description
- Enchant Type:byte
- 基本类型枚举。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_type.description枚举值如下:
-
键 值 描述 Protection0protocol.enum.protection FireProtection1protocol.enum.fireprotection FeatherFalling2protocol.enum.featherfalling BlastProtection3protocol.enum.blastprotection ProjectileProtection4protocol.enum.projectileprotection Thorns5protocol.enum.thorns Respiration6protocol.enum.respiration DepthStrider7protocol.enum.depthstrider AquaAffinity8protocol.enum.aquaaffinity Sharpness9protocol.enum.sharpness Smite10protocol.enum.smite BaneOfArthropods11protocol.enum.baneofarthropods Knockback12protocol.enum.knockback FireAspect13protocol.enum.fireaspect Looting14protocol.enum.looting Efficiency15protocol.enum.efficiency SilkTouch16protocol.enum.silktouch Unbreaking17protocol.enum.unbreaking Fortune18protocol.enum.fortune Power19protocol.enum.power Punch20protocol.enum.punch Flame21protocol.enum.flame Infinity22protocol.enum.infinity LuckOfTheSea23protocol.enum.luckofthesea Lure24protocol.enum.lure FrostWalker25protocol.enum.frostwalker Mending26protocol.enum.mending CurseOfBinding27protocol.enum.curseofbinding CurseOfVanishing28protocol.enum.curseofvanishing Impaling29protocol.enum.impaling Riptide30protocol.enum.riptide Loyalty31protocol.enum.loyalty Channeling32protocol.enum.channeling Multishot33protocol.enum.multishot Piercing34protocol.enum.piercing QuickCharge35protocol.enum.quickcharge SoulSpeed36protocol.enum.soulspeed SwiftSneak37protocol.enum.swiftsneak WindBurst38protocol.enum.windburst Density39protocol.enum.density Breach40protocol.enum.breach NumEnchantments41protocol.enum.numenchantments InvalidEnchantment42protocol.enum.invalidenchantment
- Enchant Level:byte
- 基本类型。protocol.type.itemenchants.item_enchants_for_given_activation.example_element.enchant_level.description