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 fadeIn, int stay, int fadeOut) private
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getStay()
void
handle
(ClientGamePacketListener handler) Passes this Packet on to the PacketListener for processing.type()
private void
write
(FriendlyByteBuf buffer) 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 fadeIn, int stay, int fadeOut) -
ClientboundSetTitlesAnimationPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
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()
-