public class CPacketSeenAdvancements extends java.lang.Object implements Packet<INetHandlerPlayServer>
Modifier and Type | Class and Description |
---|---|
static class |
CPacketSeenAdvancements.Action |
Constructor and Description |
---|
CPacketSeenAdvancements() |
CPacketSeenAdvancements(CPacketSeenAdvancements.Action p_i47595_1_,
ResourceLocation p_i47595_2_) |
Modifier and Type | Method and Description |
---|---|
static CPacketSeenAdvancements |
closedScreen() |
CPacketSeenAdvancements.Action |
getAction() |
ResourceLocation |
getTab() |
static CPacketSeenAdvancements |
openedTab(Advancement p_194163_0_) |
void |
processPacket(INetHandlerPlayServer handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public CPacketSeenAdvancements()
public CPacketSeenAdvancements(CPacketSeenAdvancements.Action p_i47595_1_, @Nullable ResourceLocation p_i47595_2_)
public static CPacketSeenAdvancements openedTab(Advancement p_194163_0_)
public static CPacketSeenAdvancements closedScreen()
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 CPacketSeenAdvancements.Action getAction()
public ResourceLocation getTab()