封包/MapDecoration

出自Minecraft基岩版开发Wiki
    •  img:該地圖裝飾的型別
    •  rot:該地圖裝飾的旋轉角度。
    •  x:該地圖裝飾的X座標。
    •  y:該地圖裝飾的Y座標。
    •  label:該地圖裝飾的標籤。
    •  color:該地圖裝飾的顏色,值的形式為ARGB:255 * a << 24 + 255 * r << 16 + 255 * g << 8 + 255 * b
enum MapDecoration::Type : signed char {
    MarkerWhite = 0x0,
    MarkerGreen = 0x1,
    MarkerRed = 0x2,
    MarkerBlue = 0x3,
    XWhite = 0x4,
    TriangleRed = 0x5,
    SquareWhite = 0x6,
    MarkerSign = 0x7,
    MarkerPink = 0x8,
    MarkerOrange = 0x9,
    MarkerYellow = 0xA,
    MarkerTeal = 0xB,
    TriangleGreen = 0xC,
    SmallSquareWhite = 0xD,
    Mansion = 0xE,
    Monument = 0xF,
    NoDraw = 0x10,
    Count = 0x11,
    Player = 0x0,
    PlayerOffMap = 0x6,
    PlayerOffLimits = 0xD,
    PlayerHidden = 0x10,
    ItemFrame = 0x1,
};