mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fully implemented Map Data packet.
This commit is contained in:
parent
59e02c2da9
commit
f47c240920
6 changed files with 175 additions and 61 deletions
18
MinecraftClient/Mapping/MapIcon.cs
Normal file
18
MinecraftClient/Mapping/MapIcon.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MinecraftClient.Protocol.Handlers;
|
||||
|
||||
namespace MinecraftClient.Mapping
|
||||
{
|
||||
public class MapIcon
|
||||
{
|
||||
public MapIconType Type { set; get; }
|
||||
public byte X { set; get; }
|
||||
public byte Z { set; get; }
|
||||
public byte Direction { set; get; }
|
||||
public string? DisplayName { set; get; } = null;
|
||||
}
|
||||
}
|
||||
39
MinecraftClient/Mapping/MapIconType.cs
Normal file
39
MinecraftClient/Mapping/MapIconType.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MinecraftClient.Mapping
|
||||
{
|
||||
public enum MapIconType
|
||||
{
|
||||
White_Arrow = 0,
|
||||
Green_Arrow,
|
||||
Red_Arrow,
|
||||
Blue_Arrow,
|
||||
White_Cross,
|
||||
Red_Pointer,
|
||||
White_Circle,
|
||||
Small_White_Circle,
|
||||
Mansion,
|
||||
Temple,
|
||||
White_Banner,
|
||||
Orange_Banner,
|
||||
Magenta_Banner,
|
||||
Light_Blue_Banner,
|
||||
Yellow_Banner,
|
||||
Lime_Banner,
|
||||
Pink_Banner,
|
||||
Gray_Banner,
|
||||
Light_Gray_Banner,
|
||||
Cyan_Banner,
|
||||
Purple_Banner,
|
||||
Blue_Banner,
|
||||
Brown_Banner,
|
||||
Green_Banner,
|
||||
Red_Banner,
|
||||
Black_Banner,
|
||||
Treasure_Marker
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue