mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
22 lines
571 B
C#
22 lines
571 B
C#
using System.Collections.Generic;
|
|
|
|
namespace MinecraftClient.Inventory.ItemPalettes
|
|
{
|
|
/// <summary>
|
|
/// Minimal flattened item palette for 1.14 book handling.
|
|
/// </summary>
|
|
public class ItemPalette114 : ItemPalette
|
|
{
|
|
private static readonly Dictionary<int, ItemType> mappings = new()
|
|
{
|
|
[0] = ItemType.Air,
|
|
[757] = ItemType.WritableBook,
|
|
[758] = ItemType.WrittenBook
|
|
};
|
|
|
|
protected override Dictionary<int, ItemType> GetDict()
|
|
{
|
|
return mappings;
|
|
}
|
|
}
|
|
}
|