MapDecoration¶
文档版本:r/21_u4
协议版本:748
MapDecoration类型。该类型用于protocol.type.mapdecoration.description
结构¶
digraph "MapDecoration" {
rankdir = LR
60
60 -> 61
61 -> 62
60 -> 63
63 -> 64
60 -> 65
65 -> 66
60 -> 67
67 -> 68
60 -> 69
69 -> 70
60 -> 71
71 -> 72
60 [label="MapDecoration",comment="name: \"MapDecoration\", typeName: \"\", id: 60, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
61 [label="Map Decoration Type",comment="name: \"Map Decoration Type\", typeName: \"\", id: 61, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
62 [label="byte",comment="name: \"byte\", typeName: \"\", id: 62, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
63 [label="Rotation",comment="name: \"Rotation\", typeName: \"\", id: 63, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
64 [label="byte",comment="name: \"byte\", typeName: \"\", id: 64, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
65 [label="X",comment="name: \"X\", typeName: \"\", id: 65, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
66 [label="byte",comment="name: \"byte\", typeName: \"\", id: 66, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
67 [label="Y",comment="name: \"Y\", typeName: \"\", id: 67, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
68 [label="byte",comment="name: \"byte\", typeName: \"\", id: 68, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
69 [label="Label",comment="name: \"Label\", typeName: \"\", id: 69, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
70 [label="string",comment="name: \"string\", typeName: \"\", id: 70, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
71 [label="Color - ARGB",comment="name: \"Color - ARGB\", typeName: \"\", id: 71, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
72 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 72, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;62;64;66;68;70;72}
}
字段¶
- Map Decoration Type:byte
- 基本类型枚举。protocol.type.mapdecoration.map_decoration_type.description枚举值如下:
-
键 值 描述 MarkerWhite0protocol.enum.markerwhite MarkerGreen1protocol.enum.markergreen MarkerRed2protocol.enum.markerred MarkerBlue3protocol.enum.markerblue XWhite4protocol.enum.xwhite TriangleRed5protocol.enum.trianglered SquareWhite6protocol.enum.squarewhite MarkerSign7protocol.enum.markersign MarkerPink8protocol.enum.markerpink MarkerOrange9protocol.enum.markerorange MarkerYellow10protocol.enum.markeryellow MarkerTeal11protocol.enum.markerteal TriangleGreen12protocol.enum.trianglegreen SmallSquareWhite13protocol.enum.smallsquarewhite Mansion14protocol.enum.mansion Monument15protocol.enum.monument NoDraw16protocol.enum.nodraw VillageDesert17protocol.enum.villagedesert VillagePlains18protocol.enum.villageplains VillageSavanna19protocol.enum.villagesavanna VillageSnowy20protocol.enum.villagesnowy VillageTaiga21protocol.enum.villagetaiga JungleTemple22protocol.enum.jungletemple WitchHut23protocol.enum.witchhut TrialChambers24protocol.enum.trialchambers Count25protocol.enum.count PlayerMarkerWhiteprotocol.enum.player PlayerOffMapSquareWhiteprotocol.enum.playeroffmap PlayerOffLimitsSmallSquareWhiteprotocol.enum.playerofflimits PlayerHiddenNoDrawprotocol.enum.playerhidden ItemFrameMarkerGreenprotocol.enum.itemframe
- Rotation:byte
- 基本类型。protocol.type.mapdecoration.rotation.description
- X:byte
- 基本类型。protocol.type.mapdecoration.x.description
- Y:byte
- 基本类型。protocol.type.mapdecoration.y.description
- Label:string
- 特殊类型。protocol.type.mapdecoration.label.description
- Color - ARGB:unsigned varint
- 基本类型。protocol.type.mapdecoration.color_argb.description