public class LibraryBookTypeHandler extends java.lang.Object implements ILibraryTypeHandler
| Constructor and Description |
|---|
LibraryBookTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileExtension() |
java.lang.String |
getName(net.minecraft.item.ItemStack stack) |
int |
getTextColor() |
boolean |
isHandler(net.minecraft.item.ItemStack stack,
boolean store) |
net.minecraft.item.ItemStack |
load(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound compound) |
boolean |
store(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound compound) |
public boolean isHandler(net.minecraft.item.ItemStack stack,
boolean store)
isHandler in interface ILibraryTypeHandlerpublic java.lang.String getFileExtension()
getFileExtension in interface ILibraryTypeHandlerpublic int getTextColor()
getTextColor in interface ILibraryTypeHandlerpublic java.lang.String getName(net.minecraft.item.ItemStack stack)
getName in interface ILibraryTypeHandlerpublic net.minecraft.item.ItemStack load(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound compound)
load in interface ILibraryTypeHandlerpublic boolean store(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound compound)
store in interface ILibraryTypeHandler