public class SPacketRecipeBook extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Class and Description |
---|---|
static class |
SPacketRecipeBook.State |
Constructor and Description |
---|
SPacketRecipeBook() |
SPacketRecipeBook(SPacketRecipeBook.State stateIn,
java.util.List<IRecipe> recipesIn,
java.util.List<IRecipe> displayedRecipesIn,
boolean isGuiOpen,
boolean p_i47597_5_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IRecipe> |
getDisplayedRecipes() |
java.util.List<IRecipe> |
getRecipes() |
SPacketRecipeBook.State |
getState() |
boolean |
isFilteringCraftable() |
boolean |
isGuiOpen() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketRecipeBook()
public SPacketRecipeBook(SPacketRecipeBook.State stateIn, java.util.List<IRecipe> recipesIn, java.util.List<IRecipe> displayedRecipesIn, boolean isGuiOpen, boolean p_i47597_5_)
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public java.util.List<IRecipe> getRecipes()
public java.util.List<IRecipe> getDisplayedRecipes()
public boolean isGuiOpen()
public boolean isFilteringCraftable()
public SPacketRecipeBook.State getState()