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 boolean
static final StreamCodec
<FriendlyByteBuf, ClientboundClearTitlesPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(ClientGamePacketListener p_178787_) Passes this Packet on to the PacketListener for processing.boolean
type()
private void
write
(FriendlyByteBuf pBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
type
in interfacePacket<ClientGamePacketListener>
-
handle
Description copied from interface:Packet
Passes this Packet on to the PacketListener for processing.- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
shouldResetTimes
public boolean shouldResetTimes()
-