public class SelectAdvancementTabS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Modifier and Type | Field and Description |
---|---|
private Identifier |
tabId |
Constructor and Description |
---|
SelectAdvancementTabS2CPacket() |
SelectAdvancementTabS2CPacket(Identifier tabId) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
Identifier |
getTabId() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
@Nullable private Identifier tabId
public SelectAdvancementTabS2CPacket()
public SelectAdvancementTabS2CPacket(@Nullable Identifier tabId)
public void apply(ClientPlayPacketListener clientPlayPacketListener)
apply
in interface Packet<ClientPlayPacketListener>
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ClientPlayPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ClientPlayPacketListener>
IOException
@Environment(value=CLIENT) @Nullable public Identifier getTabId()