mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Clean up entity metadata palette
This commit is contained in:
parent
c36dec435d
commit
750295b1e3
10 changed files with 67 additions and 139 deletions
|
|
@ -1,29 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace MinecraftClient.Mapping.EntityMetadataPalettes;
|
||||
|
||||
public class EntityMetadataPalette111 : EntityMetadataPalette
|
||||
{
|
||||
// 1.11 : https://wiki.vg/index.php?title=Entity_metadata&oldid=8269
|
||||
private readonly Dictionary<int, EntityMetaDataType> entityMetadataMappings = new()
|
||||
{
|
||||
{ 0, EntityMetaDataType.Byte },
|
||||
{ 1, EntityMetaDataType.VarInt },
|
||||
{ 2, EntityMetaDataType.Float },
|
||||
{ 3, EntityMetaDataType.String },
|
||||
{ 4, EntityMetaDataType.Chat },
|
||||
{ 5, EntityMetaDataType.Slot },
|
||||
{ 6, EntityMetaDataType.Boolean },
|
||||
{ 7, EntityMetaDataType.Rotation },
|
||||
{ 8, EntityMetaDataType.Position },
|
||||
{ 9, EntityMetaDataType.OptionalPosition },
|
||||
{ 10, EntityMetaDataType.Direction },
|
||||
{ 11, EntityMetaDataType.OptionalUuid },
|
||||
{ 12, EntityMetaDataType.OptionalBlockId }
|
||||
};
|
||||
|
||||
public override Dictionary<int, EntityMetaDataType> GetEntityMetadataMappingsList()
|
||||
{
|
||||
return entityMetadataMappings;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue