Class ClientboundClearTitlesPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundClearTitlesPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundClearTitlesPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanstatic final StreamCodec<FriendlyByteBuf, ClientboundClearTitlesPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ClientGamePacketListener listener) Passes this Packet on to the PacketListener for processing.booleantype()private voidwrite(FriendlyByteBuf output) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
resetTimes
private final boolean resetTimes
-
-
Constructor Details
-
ClientboundClearTitlesPacket
public ClientboundClearTitlesPacket(boolean resetTimes) -
ClientboundClearTitlesPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
Description copied from interface:PacketPasses this Packet on to the PacketListener for processing.- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
shouldResetTimes
public boolean shouldResetTimes()
-