public class CSeenAdvancementsPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
Modifier and Type | Class and Description |
---|---|
static class |
CSeenAdvancementsPacket.Action |
Modifier and Type | Field and Description |
---|---|
private CSeenAdvancementsPacket.Action |
action |
private ResourceLocation |
tab |
Constructor and Description |
---|
CSeenAdvancementsPacket() |
CSeenAdvancementsPacket(CSeenAdvancementsPacket.Action p_i47595_1_,
ResourceLocation p_i47595_2_) |
Modifier and Type | Method and Description |
---|---|
static CSeenAdvancementsPacket |
closedScreen() |
CSeenAdvancementsPacket.Action |
getAction() |
ResourceLocation |
getTab() |
static CSeenAdvancementsPacket |
openedTab(Advancement p_194163_0_) |
void |
processPacket(IServerPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private CSeenAdvancementsPacket.Action action
private ResourceLocation tab
public CSeenAdvancementsPacket()
public CSeenAdvancementsPacket(CSeenAdvancementsPacket.Action p_i47595_1_, @Nullable ResourceLocation p_i47595_2_)
public static CSeenAdvancementsPacket openedTab(Advancement p_194163_0_)
public static CSeenAdvancementsPacket closedScreen()
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 CSeenAdvancementsPacket.Action getAction()
public ResourceLocation getTab()