net.minecraft.network.protocol.game

public class ClientboundSetTitlesAnimationPacket

implements Packet<ClientGamePacketListener>

agr
net.minecraft.network.protocol.game.ClientboundSetTitlesAnimationPacket
net.minecraft.class_5905
net.minecraft.network.packet.s2c.play.TitleFadeS2CPacket
net.minecraft.network.protocol.game.ClientboundSetTitlesAnimationPacket

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket>
a
STREAM_CODEC
field_47993
CODEC
private final int
b
fadeIn
field_29167
fadeInTicks
private final int
c
stay
field_29168
stayTicks
private final int
d
fadeOut
field_29169
fadeOutTicks

Constructor summary

ModifierConstructor
public (int fadeInTicks, int stayTicks, int fadeOutTicks)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55940(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetTitlesAnimationPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_34193(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getFadeIn()
method_34194()
getFadeInTicks()
public int
e()
getStay()
method_34195()
getStayTicks()
public int
f()
getFadeOut()
method_34196()
getFadeOutTicks()