public class CPlaceRecipePacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private boolean |
placeAll |
private ResourceLocation |
recipeId |
private int |
windowId |
Constructor and Description |
---|
CPlaceRecipePacket() |
CPlaceRecipePacket(int p_i47614_1_,
IRecipe<?> p_i47614_2_,
boolean p_i47614_3_) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getRecipeId() |
int |
getWindowId() |
void |
processPacket(IServerPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
boolean |
shouldPlaceAll() |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int windowId
private ResourceLocation recipeId
private boolean placeAll
public CPlaceRecipePacket()
public CPlaceRecipePacket(int p_i47614_1_, IRecipe<?> p_i47614_2_, boolean p_i47614_3_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IServerPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IServerPlayNetHandler>
java.io.IOException
public void processPacket(IServerPlayNetHandler handler)
processPacket
in interface IPacket<IServerPlayNetHandler>
public int getWindowId()
public ResourceLocation getRecipeId()
public boolean shouldPlaceAll()