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
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final int
static final StreamCodec
<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundSetTitlesAnimationPacket
(int pFadeIn, int pStay, int pFadeOut) private
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getStay()
void
handle
(ClientGamePacketListener p_179414_) Passes this Packet on to the PacketListener for processing.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
-
fadeIn
private final int fadeIn -
stay
private final int stay -
fadeOut
private final int fadeOut
-
-
Constructor Details
-
ClientboundSetTitlesAnimationPacket
public ClientboundSetTitlesAnimationPacket(int pFadeIn, int pStay, int pFadeOut) -
ClientboundSetTitlesAnimationPacket
-
-
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>
-
getFadeIn
public int getFadeIn() -
getStay
public int getStay() -
getFadeOut
public int getFadeOut()
-