mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
17 lines
351 B
C#
17 lines
351 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MinecraftClient.Inventory.ItemPalettes
|
|
{
|
|
public abstract class ItemPalette
|
|
{
|
|
protected abstract Dictionary<int, ItemType> GetDict();
|
|
|
|
public ItemType FromId(int id)
|
|
{
|
|
return GetDict()[id];
|
|
}
|
|
}
|
|
}
|