public class RecipeBookServer extends RecipeBook
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
isFilteringCraftable, isGuiOpen, newRecipes, recipes
Constructor and Description |
---|
RecipeBookServer() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.List<IRecipe> recipesIn,
EntityPlayerMP player) |
private java.util.List<IRecipe> |
getDisplayedRecipes() |
private java.util.List<IRecipe> |
getRecipes() |
void |
init(EntityPlayerMP player) |
void |
read(NBTTagCompound tag) |
void |
remove(java.util.List<IRecipe> recipesIn,
EntityPlayerMP player) |
private void |
sendPacket(SPacketRecipeBook.State state,
EntityPlayerMP player,
java.util.List<IRecipe> recipesIn) |
NBTTagCompound |
write() |
copyFrom, getRecipeId, isFilteringCraftable, isGuiOpen, isNew, isUnlocked, lock, markNew, markSeen, setFilteringCraftable, setGuiOpen, unlock
public void add(java.util.List<IRecipe> recipesIn, EntityPlayerMP player)
public void remove(java.util.List<IRecipe> recipesIn, EntityPlayerMP player)
private void sendPacket(SPacketRecipeBook.State state, EntityPlayerMP player, java.util.List<IRecipe> recipesIn)
public NBTTagCompound write()
public void read(NBTTagCompound tag)
private java.util.List<IRecipe> getRecipes()
private java.util.List<IRecipe> getDisplayedRecipes()
public void init(EntityPlayerMP player)