跳转至

CraftingDataEntry

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

CraftingDataEntry类型。该类型用于protocol.type.craftingdataentry.description

结构

digraph "CraftingDataEntry" {
rankdir = LR
1
1 -> 2
2 -> 3
1 -> 4
4 -> 5
5 -> 6
6 -> 7
5 -> 8
8 -> 9
4 -> 10
10 -> 11
11 -> 12
10 -> 13
13 -> 14
4 -> 15
15 -> 16
16 -> 17
15 -> 18
18 -> 19
15 -> 20
20 -> 21
4 -> 22
22 -> 23
23 -> 24
22 -> 25
25 -> 26
22 -> 27
27 -> 28
22 -> 29
29 -> 30
4 -> 31
31 -> 32
32 -> 33
31 -> 34
34 -> 35
4 -> 36
36 -> 37
37 -> 38
36 -> 39
39 -> 40
4 -> 41
41 -> 42
42 -> 43
41 -> 44
44 -> 45
4 -> 46
46 -> 47
47 -> 48
46 -> 49
49 -> 50
4 -> 51
51 -> 52
52 -> 53
51 -> 54
54 -> 55
4 -> 56
56 -> 57
57 -> 58
56 -> 59
59 -> 60

1 [label="CraftingDataEntry",comment="name: \"CraftingDataEntry\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="Crafting Type",comment="name: \"Crafting Type\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
3 [label="varint",comment="name: \"varint\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
4 [label="Dependency on 'Crafting Type'",shape=note,comment="name: \"Dependency on 'Crafting Type'\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 2, notes: \"\""];
5 [label="if (0)",shape=diamond,comment="name: \"if (0)\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 4, notes: \"\""];
6 [label="Shapeless Recipe",comment="name: \"Shapeless Recipe\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
7 [label="ShapelessRecipe",comment="name: \"ShapelessRecipe\", typeName: \"\", id: 7, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
8 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
9 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 9, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
10 [label="if (1)",shape=diamond,comment="name: \"if (1)\", typeName: \"\", id: 10, branchId: 1, recurseId: -1, attributes: 4, notes: \"\""];
11 [label="Shaped Recipe",comment="name: \"Shaped Recipe\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
12 [label="ShapedRecipe",comment="name: \"ShapedRecipe\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
14 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
15 [label="if (2)",shape=diamond,comment="name: \"if (2)\", typeName: \"\", id: 15, branchId: 2, recurseId: -1, attributes: 4, notes: \"\""];
16 [label="Item Data",comment="name: \"Item Data\", typeName: \"\", id: 16, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
17 [label="varint",comment="name: \"varint\", typeName: \"\", id: 17, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
18 [label="Result Item",comment="name: \"Result Item\", typeName: \"\", id: 18, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
19 [label="NetworkItemInstanceDescriptor",comment="name: \"NetworkItemInstanceDescriptor\", typeName: \"\", id: 19, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
20 [label="Recipe Tag",comment="name: \"Recipe Tag\", typeName: \"\", id: 20, branchId: 0, recurseId: -1, attributes: 0, notes: \"Available ones: crafting_table, cartography_table, stonecutter, furnace, blast_furnace, smoker, campfire\""];
21 [label="string",comment="name: \"string\", typeName: \"\", id: 21, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
22 [label="if (3)",shape=diamond,comment="name: \"if (3)\", typeName: \"\", id: 22, branchId: 3, recurseId: -1, attributes: 4, notes: \"\""];
23 [label="Item Data",comment="name: \"Item Data\", typeName: \"\", id: 23, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
24 [label="varint",comment="name: \"varint\", typeName: \"\", id: 24, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
25 [label="Auxiliary Item Data",comment="name: \"Auxiliary Item Data\", typeName: \"\", id: 25, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
26 [label="varint",comment="name: \"varint\", typeName: \"\", id: 26, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
27 [label="Result Item",comment="name: \"Result Item\", typeName: \"\", id: 27, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
28 [label="NetworkItemInstanceDescriptor",comment="name: \"NetworkItemInstanceDescriptor\", typeName: \"\", id: 28, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
29 [label="Recipe Tag",comment="name: \"Recipe Tag\", typeName: \"\", id: 29, branchId: 0, recurseId: -1, attributes: 0, notes: \"Available ones: crafting_table, cartography_table, stonecutter, furnace, blast_furnace, smoker, campfire\""];
30 [label="string",comment="name: \"string\", typeName: \"\", id: 30, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
31 [label="if (4)",shape=diamond,comment="name: \"if (4)\", typeName: \"\", id: 31, branchId: 4, recurseId: -1, attributes: 4, notes: \"\""];
32 [label="Multi-Recipe",comment="name: \"Multi-Recipe\", typeName: \"\", id: 32, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
33 [label="mce::UUID",comment="name: \"mce::UUID\", typeName: \"\", id: 33, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
34 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 34, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
35 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 35, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
36 [label="if (5)",shape=diamond,comment="name: \"if (5)\", typeName: \"\", id: 36, branchId: 5, recurseId: -1, attributes: 4, notes: \"\""];
37 [label="Shulker Box Recipe",comment="name: \"Shulker Box Recipe\", typeName: \"\", id: 37, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
38 [label="ShulkerBoxRecipe",comment="name: \"ShulkerBoxRecipe\", typeName: \"\", id: 38, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
39 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 39, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
40 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 40, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
41 [label="if (6)",shape=diamond,comment="name: \"if (6)\", typeName: \"\", id: 41, branchId: 6, recurseId: -1, attributes: 4, notes: \"\""];
42 [label="Shapeless Chemistry Recipe",comment="name: \"Shapeless Chemistry Recipe\", typeName: \"\", id: 42, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
43 [label="ShapelessChemistryRecipe",comment="name: \"ShapelessChemistryRecipe\", typeName: \"\", id: 43, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
44 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 44, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
45 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 45, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
46 [label="if (7)",shape=diamond,comment="name: \"if (7)\", typeName: \"\", id: 46, branchId: 7, recurseId: -1, attributes: 4, notes: \"\""];
47 [label="Shaped Chemistry Recipe",comment="name: \"Shaped Chemistry Recipe\", typeName: \"\", id: 47, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
48 [label="ShapedChemistryRecipe",comment="name: \"ShapedChemistryRecipe\", typeName: \"\", id: 48, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
49 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 49, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
50 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 50, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
51 [label="if (8)",shape=diamond,comment="name: \"if (8)\", typeName: \"\", id: 51, branchId: 8, recurseId: -1, attributes: 4, notes: \"\""];
52 [label="Smithing Transform Recipe",comment="name: \"Smithing Transform Recipe\", typeName: \"\", id: 52, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
53 [label="SmithingTransformRecipe",comment="name: \"SmithingTransformRecipe\", typeName: \"\", id: 53, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
54 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 54, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
55 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 55, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
56 [label="if (9)",shape=diamond,comment="name: \"if (9)\", typeName: \"\", id: 56, branchId: 9, recurseId: -1, attributes: 4, notes: \"\""];
57 [label="Smithing Trim Recipe",comment="name: \"Smithing Trim Recipe\", typeName: \"\", id: 57, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
58 [label="SmithingTrimRecipe",comment="name: \"SmithingTrimRecipe\", typeName: \"\", id: 58, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
59 [label="Net id",comment="name: \"Net id\", typeName: \"\", id: 59, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
60 [label="TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>",comment="name: \"TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>\", typeName: \"\", id: 60, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;3;7;9;12;14;17;19;21;24;26;28;30;33;35;38;40;43;45;48;50;53;55;58;60}

}

字段

CraftingDataEntry
[crafting_type][dependency_on_crafting_type]
Crafting Type:varint
基本类型枚举。protocol.type.craftingdataentry.crafting_type.description枚举值如下:
描述
ShapelessRecipe 0 protocol.enum.shapelessrecipe
ShapedRecipe 1 protocol.enum.shapedrecipe
FurnaceRecipe 2 protocol.enum.furnacerecipe
FurnaceAuxRecipe 3 protocol.enum.furnaceauxrecipe
MultiRecipe 4 protocol.enum.multirecipe
ShulkerBoxRecipe 5 protocol.enum.shulkerboxrecipe
ShapelessChemistryRecipe 6 protocol.enum.shapelesschemistryrecipe
ShapedChemistryRecipe 7 protocol.enum.shapedchemistryrecipe
SmithingTransformRecipe 8 protocol.enum.smithingtransformrecipe
SmithingTrimRecipe 9 protocol.enum.smithingtrimrecipe
COUNT 10 protocol.enum.count

依赖于Crafting Type

if (0)
[shapeless_recipe][net_id]
Shapeless Recipe:ShapelessRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_0.shapeless_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_0.net_id.description
if (1)
[shaped_recipe][net_id]
Shaped Recipe:ShapedRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_1.shaped_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_1.net_id.description
if (2)
[item_data][result_item][recipe_tag]
Item Data:varint
基本类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_2.item_data.description
Result Item:NetworkItemInstanceDescriptor
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_2.result_item.description
Recipe Tag:string
特殊类型枚举。protocol.type.craftingdataentry.dependency_on_crafting_type.if_2.recipe_tag.description枚举值如下:
描述
crafting_table protocol.enum.crafting_table
cartography_table protocol.enum.cartography_table
stonecutter protocol.enum.stonecutter
furnace protocol.enum.furnace
blast_furnace protocol.enum.blast_furnace
smoker protocol.enum.smoker
campfire protocol.enum.campfire
if (3)
[item_data][auxiliary_item_data][result_item][recipe_tag]
Item Data:varint
基本类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_3.item_data.description
Auxiliary Item Data:varint
基本类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_3.auxiliary_item_data.description
Result Item:NetworkItemInstanceDescriptor
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_3.result_item.description
Recipe Tag:string
特殊类型枚举。protocol.type.craftingdataentry.dependency_on_crafting_type.if_3.recipe_tag.description枚举值如下:
描述
crafting_table protocol.enum.crafting_table
cartography_table protocol.enum.cartography_table
stonecutter protocol.enum.stonecutter
furnace protocol.enum.furnace
blast_furnace protocol.enum.blast_furnace
smoker protocol.enum.smoker
campfire protocol.enum.campfire
if (4)
[multi-recipe][net_id]
Multi-Recipe:mce::UUID
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_4.multi-recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_4.net_id.description
if (5)
[shulker_box_recipe][net_id]
Shulker Box Recipe:ShulkerBoxRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_5.shulker_box_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_5.net_id.description
if (6)
[shapeless_chemistry_recipe][net_id]
Shapeless Chemistry Recipe:ShapelessChemistryRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_6.shapeless_chemistry_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_6.net_id.description
if (7)
[shaped_chemistry_recipe][net_id]
Shaped Chemistry Recipe:ShapedChemistryRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_7.shaped_chemistry_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_7.net_id.description
if (8)
[smithing_transform_recipe][net_id]
Smithing Transform Recipe:SmithingTransformRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_8.smithing_transform_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_8.net_id.description
if (9)
[smithing_trim_recipe][net_id]
Smithing Trim Recipe:SmithingTrimRecipe
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_9.smithing_trim_recipe.description
Net id:TypedServerNetId<struct RecipeNetIdTag,unsigned int,0>
特殊类型。protocol.type.craftingdataentry.dependency_on_crafting_type.if_9.net_id.description