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 intprivate final intprivate final intstatic final StreamCodec<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundSetTitlesAnimationPacket(int pFadeIn, int pStay, int pFadeOut) private -
Method Summary
Modifier and TypeMethodDescriptionintintintgetStay()voidhandle(ClientGamePacketListener p_179414_) Passes this Packet on to the PacketListener for processing.type()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
-
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:
typein interfacePacket<ClientGamePacketListener>
-
handle
Description copied from interface:PacketPasses this Packet on to the PacketListener for processing.- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getFadeIn
public int getFadeIn() -
getStay
public int getStay() -
getFadeOut
public int getFadeOut()
-