public class SRecipeBookPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Class and Description |
---|---|
static class |
SRecipeBookPacket.State |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ResourceLocation> |
displayedRecipes |
private boolean |
field_202494_f |
private boolean |
field_202495_g |
private boolean |
filteringCraftable |
private boolean |
guiOpen |
private java.util.List<ResourceLocation> |
recipes |
private SRecipeBookPacket.State |
state |
Constructor and Description |
---|
SRecipeBookPacket() |
SRecipeBookPacket(SRecipeBookPacket.State p_i48735_1_,
java.util.Collection<ResourceLocation> p_i48735_2_,
java.util.Collection<ResourceLocation> p_i48735_3_,
boolean p_i48735_4_,
boolean p_i48735_5_,
boolean p_i48735_6_,
boolean p_i48735_7_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceLocation> |
getDisplayedRecipes() |
java.util.List<ResourceLocation> |
getRecipes() |
SRecipeBookPacket.State |
getState() |
boolean |
isFilteringCraftable() |
boolean |
isFurnaceFilteringCraftable() |
boolean |
isFurnaceGuiOpen() |
boolean |
isGuiOpen() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private SRecipeBookPacket.State state
private java.util.List<ResourceLocation> recipes
private java.util.List<ResourceLocation> displayedRecipes
private boolean guiOpen
private boolean filteringCraftable
private boolean field_202494_f
private boolean field_202495_g
public SRecipeBookPacket()
public SRecipeBookPacket(SRecipeBookPacket.State p_i48735_1_, java.util.Collection<ResourceLocation> p_i48735_2_, java.util.Collection<ResourceLocation> p_i48735_3_, boolean p_i48735_4_, boolean p_i48735_5_, boolean p_i48735_6_, boolean p_i48735_7_)
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public java.util.List<ResourceLocation> getRecipes()
public java.util.List<ResourceLocation> getDisplayedRecipes()
public boolean isGuiOpen()
public boolean isFilteringCraftable()
public boolean isFurnaceGuiOpen()
public boolean isFurnaceFilteringCraftable()
public SRecipeBookPacket.State getState()