public class RecipeBookDataC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Modifier and Type | Class and Description |
---|---|
static class |
RecipeBookDataC2SPacket.Mode |
Modifier and Type | Field and Description |
---|---|
private boolean |
blastFurnaceFilteringCraftable |
private boolean |
blastFurnaceGuiOpen |
private boolean |
filteringCraftable |
private boolean |
furnaceFilteringCraftable |
private boolean |
furnaceGuiOpen |
private boolean |
guiOpen |
private RecipeBookDataC2SPacket.Mode |
mode |
private Identifier |
recipeId |
private boolean |
smokerGuiFilteringCraftable |
private boolean |
smokerGuiOpen |
Constructor and Description |
---|
RecipeBookDataC2SPacket() |
RecipeBookDataC2SPacket(boolean bool,
boolean bool2,
boolean bool3,
boolean bool4,
boolean bool5,
boolean bool6) |
RecipeBookDataC2SPacket(Recipe<?> recipe) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ServerPlayPacketListener serverPlayPacketListener) |
RecipeBookDataC2SPacket.Mode |
getMode() |
Identifier |
getRecipeId() |
boolean |
isBlastFurnaceFilteringCraftable() |
boolean |
isBlastFurnaceGuiOpen() |
boolean |
isFilteringCraftable() |
boolean |
isFurnaceFilteringCraftable() |
boolean |
isFurnaceGuiOpen() |
boolean |
isGuiOpen() |
boolean |
isSmokerGuiFilteringCraftable() |
boolean |
isSmokerGuiOpen() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
private RecipeBookDataC2SPacket.Mode mode
private Identifier recipeId
private boolean guiOpen
private boolean filteringCraftable
private boolean furnaceGuiOpen
private boolean furnaceFilteringCraftable
private boolean blastFurnaceGuiOpen
private boolean blastFurnaceFilteringCraftable
private boolean smokerGuiOpen
private boolean smokerGuiFilteringCraftable
public RecipeBookDataC2SPacket()
public RecipeBookDataC2SPacket(Recipe<?> recipe)
@Environment(value=CLIENT) public RecipeBookDataC2SPacket(boolean bool, boolean bool2, boolean bool3, boolean bool4, boolean bool5, boolean bool6)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ServerPlayPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ServerPlayPacketListener>
IOException
public void apply(ServerPlayPacketListener serverPlayPacketListener)
apply
in interface Packet<ServerPlayPacketListener>
public RecipeBookDataC2SPacket.Mode getMode()
public Identifier getRecipeId()
public boolean isGuiOpen()
public boolean isFilteringCraftable()
public boolean isFurnaceGuiOpen()
public boolean isFurnaceFilteringCraftable()
public boolean isBlastFurnaceGuiOpen()
public boolean isBlastFurnaceFilteringCraftable()
public boolean isSmokerGuiOpen()
public boolean isSmokerGuiFilteringCraftable()