Class ClientboundSetTitlesAnimationPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetTitlesAnimationPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetTitlesAnimationPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final int
static final StreamCodec
<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundSetTitlesAnimationPacket
(int p_179404_, int p_179405_, int p_179406_) private
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getStay()
void
handle
(ClientGamePacketListener p_179414_) type()
private void
write
(FriendlyByteBuf p_179410_) 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
-
fadeIn
private final int fadeIn -
stay
private final int stay -
fadeOut
private final int fadeOut
-
-
Constructor Details
-
ClientboundSetTitlesAnimationPacket
public ClientboundSetTitlesAnimationPacket(int p_179404_, int p_179405_, int p_179406_) -
ClientboundSetTitlesAnimationPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getFadeIn
public int getFadeIn() -
getStay
public int getStay() -
getFadeOut
public int getFadeOut()
-