to Title Animation
abstract fun toTitleAnimation(animation: Animation, player: Player, withPlaceholders: Boolean): SendableAnimation
Content copied to clipboard
Creates a SendableAnimation that sends Titles to the player.
If withPlaceholders
is true, placeholders will be replaced.
Return
The SendableAnimation instance associated with the animation.
Since
2.0.0
Parameters
animation
The animation to be used.
player
The player the SendableAnimation is associated with.
with Placeholders
Whether or not placeholders should be replaced.
abstract fun toTitleAnimation(parts: List<AnimationPart<*>>, player: Player, withPlaceholders: Boolean): SendableAnimation
Content copied to clipboard
Creates a SendableAnimation that sends Titles to the player.
If withPlaceholders
is true, placeholders will be replaced.
Return
The SendableAnimation instance associated with the animation.
Since
2.0.0
Parameters
parts
The parts of the animation the SendableAnimation will be made off of.
player
The player the SendableAnimation is associated with.
with Placeholders
Whether or not placeholders should be replaced.