mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Implement entity types (#1001)
Implement palette generation and investigate palette changes between versions. Turns out 1.13- has legacy IDs, 1.14 switches to entity palette and 1.15 refreshes the whole palette just to insert Bee. Also refactor entity handling code here and there.
This commit is contained in:
parent
5b0b0c9cc3
commit
bd85c46663
27 changed files with 1113 additions and 259 deletions
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
|
||||
namespace MinecraftClient.Mapping.BlockPalettes
|
||||
{
|
||||
public abstract class BlockPaletteMapping
|
||||
public abstract class BlockPalette
|
||||
{
|
||||
/// <summary>
|
||||
/// Get mapping dictionary. Must be overriden with proper implementation.
|
||||
|
|
@ -9,7 +9,7 @@ namespace MinecraftClient.Mapping.BlockPalettes
|
|||
/// Some blocks previously had different IDs depending on state, they have been merged here
|
||||
/// Comments correspond to changed material names since previous MCC versions
|
||||
/// </summary>
|
||||
public class Palette112 : BlockPaletteMapping
|
||||
public class Palette112 : BlockPalette
|
||||
{
|
||||
private static Dictionary<int, Material> materials = new Dictionary<int, Material>()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace MinecraftClient.Mapping.BlockPalettes
|
|||
/// Defines mappings for Minecraft 1.13.
|
||||
/// Automatically generated using BlockPaletteGenerator.cs
|
||||
/// </summary>
|
||||
public class Palette113 : BlockPaletteMapping
|
||||
public class Palette113 : BlockPalette
|
||||
{
|
||||
private static Dictionary<int, Material> materials = new Dictionary<int, Material>();
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace MinecraftClient.Mapping.BlockPalettes
|
|||
/// Defines mappings for Minecraft 1.14.
|
||||
/// Automatically generated using BlockPaletteGenerator.cs
|
||||
/// </summary>
|
||||
public class Palette114 : BlockPaletteMapping
|
||||
public class Palette114 : BlockPalette
|
||||
{
|
||||
private static Dictionary<int, Material> materials = new Dictionary<int, Material>();
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace MinecraftClient.Mapping.BlockPalettes
|
|||
/// Defines mappings for Minecraft 1.15.
|
||||
/// Automatically generated using BlockPaletteGenerator.cs
|
||||
/// </summary>
|
||||
public class Palette115 : BlockPaletteMapping
|
||||
public class Palette115 : BlockPalette
|
||||
{
|
||||
private static Dictionary<int, Material> materials = new Dictionary<int, Material>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue