数据包/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,
};