public class CPacketRecipeInfo extends java.lang.Object implements Packet<INetHandlerPlayServer>
Modifier and Type | Class and Description |
---|---|
static class |
CPacketRecipeInfo.Purpose |
Constructor and Description |
---|
CPacketRecipeInfo() |
CPacketRecipeInfo(boolean p_i47424_1_,
boolean p_i47424_2_) |
CPacketRecipeInfo(IRecipe p_i47518_1_) |
Modifier and Type | Method and Description |
---|---|
CPacketRecipeInfo.Purpose |
getPurpose() |
IRecipe |
getRecipe() |
boolean |
isFilteringCraftable() |
boolean |
isGuiOpen() |
void |
processPacket(INetHandlerPlayServer handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public CPacketRecipeInfo()
public CPacketRecipeInfo(IRecipe p_i47518_1_)
public CPacketRecipeInfo(boolean p_i47424_1_, boolean p_i47424_2_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayServer>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayServer>
java.io.IOException
public void processPacket(INetHandlerPlayServer handler)
processPacket
in interface Packet<INetHandlerPlayServer>
public CPacketRecipeInfo.Purpose getPurpose()
public IRecipe getRecipe()
public boolean isGuiOpen()
public boolean isFilteringCraftable()