Contents
Class CinematicTeleport
java.lang.Object
com.hypixel.hytale.builtin.adventure.camera.CinematicTeleport
A cinematic teleport: the real teleport happens under cover of a server-driven camera move. The
dissolve is applied to the player as a replicated
EntityEffect, so every client (not just
the teleporting player) sees the model fade out at the origin and fade back in at the destination.
CinematicPath selects the camera path: an ascending fly-over, a curved arc, an orbit
around the arrival point, or a pushing-in dolly.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidplay(PlayerRef playerRef, org.joml.Vector3dc destination, CinematicPath path, float ascendHeight)
-
Field Details
-
DEFAULT_ASCEND_HEIGHT
public static final float DEFAULT_ASCEND_HEIGHT- See Also:
-
-
Method Details
-
play
public static void play(@Nonnull PlayerRef playerRef, @Nonnull org.joml.Vector3dc destination, @Nonnull CinematicPath path, float ascendHeight)
-