public class EnumDyeColorNBTHandler extends EnumNBTHandler<net.minecraft.item.DyeColor>
| Constructor and Description |
|---|
EnumDyeColorNBTHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.item.DyeColor |
getFromId(int id) |
protected int |
getIdFrom(net.minecraft.item.DyeColor obj) |
boolean |
isClassValid(java.lang.Class<?> aClass)
Checks if the NBTHandler can handle a class.
|
readFromNBT, storeToNBTpublic boolean isClassValid(java.lang.Class<?> aClass)
INBTHandleraClass - The class that wants to be checked.protected int getIdFrom(net.minecraft.item.DyeColor obj)
getIdFrom in class EnumNBTHandler<net.minecraft.item.DyeColor>protected net.minecraft.item.DyeColor getFromId(int id)
getFromId in class EnumNBTHandler<net.minecraft.item.DyeColor>