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 p_178787_) Passes this Packet on to the PacketListener for processing.booleantype()private voidwrite(FriendlyByteBuf pBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
resetTimes
private final boolean resetTimes
-
-
Constructor Details
-
ClientboundClearTitlesPacket
public ClientboundClearTitlesPacket(boolean pResetTimes) -
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()
-