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
Modifier and TypeFieldDescriptionprivate final boolean
static final StreamCodec
<FriendlyByteBuf, ClientboundClearTitlesPacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundClearTitlesPacket
(boolean p_178781_) private
ClientboundClearTitlesPacket
(FriendlyByteBuf p_178779_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(ClientGamePacketListener p_178787_) boolean
type()
private void
write
(FriendlyByteBuf p_178783_) 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 p_178781_) -
ClientboundClearTitlesPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
shouldResetTimes
public boolean shouldResetTimes()
-