Class ClientboundSetTitlesAnimationPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.title.ClientboundSetTitlesAnimationPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundSetTitlesAnimationPacket(int fadeIn, int stay, int fadeOut) ClientboundSetTitlesAnimationPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintintgetStay()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundSetTitlesAnimationPacketwithFadeIn(int fadeIn) @NonNull ClientboundSetTitlesAnimationPacketwithFadeOut(int fadeOut) @NonNull ClientboundSetTitlesAnimationPacketwithStay(int stay) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundSetTitlesAnimationPacket
public ClientboundSetTitlesAnimationPacket(io.netty.buffer.ByteBuf in) -
ClientboundSetTitlesAnimationPacket
public ClientboundSetTitlesAnimationPacket(int fadeIn, int stay, int fadeOut)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getFadeIn
public int getFadeIn() -
getStay
public int getStay() -
getFadeOut
public int getFadeOut() -
equals
-
canEqual
-
hashCode
-
toString
-
withFadeIn
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStay
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFadeOut
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-