Uses of Record Class
dev.piglin.piglinworldapi.util.TeleportUtils.TimedTeleportRecord
Packages that use TeleportUtils.TimedTeleportRecord
-
Uses of TeleportUtils.TimedTeleportRecord in dev.piglin.piglinworldapi.util
Fields in dev.piglin.piglinworldapi.util with type parameters of type TeleportUtils.TimedTeleportRecordModifier and TypeFieldDescriptionTeleportUtils.TimedTeleportRecord.ALWAYS_TELEPORTAlways teleport player (for onTeleport)TeleportUtils.TimedTeleportRecord.NOOPDo nothing when cancelled (for onCancel)Methods in dev.piglin.piglinworldapi.util that return types with arguments of type TeleportUtils.TimedTeleportRecordModifier and TypeMethodDescription@NotNull Consumer<TeleportUtils.TimedTeleportRecord<Object>>TeleportUtils.TimedTeleportRecord.onCancel()Returns the value of theonCancelrecord component.@NotNull Function<TeleportUtils.TimedTeleportRecord<Object>,Boolean>TeleportUtils.TimedTeleportRecord.onTeleport()Returns the value of theonTeleportrecord component.Methods in dev.piglin.piglinworldapi.util with parameters of type TeleportUtils.TimedTeleportRecordModifier and TypeMethodDescriptionstatic booleanTeleportUtils.teleportDelayed(TeleportUtils.TimedTeleportRecord<?> record, boolean checkPVP)Wait untiltimeand teleport the player todestinationif the player doesn't moveConstructor parameters in dev.piglin.piglinworldapi.util with type arguments of type TeleportUtils.TimedTeleportRecordModifierConstructorDescriptionTimedTeleportRecord(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location destination, long time, @NotNull Consumer<TeleportUtils.TimedTeleportRecord<Object>> onCancel, @NotNull Function<TeleportUtils.TimedTeleportRecord<Object>,Boolean> onTeleport, M meta)Creates an instance of aTimedTeleportRecordrecord class.TimedTeleportRecord(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location destination, long time, @NotNull Consumer<TeleportUtils.TimedTeleportRecord<Object>> onCancel, @NotNull Function<TeleportUtils.TimedTeleportRecord<Object>,Boolean> onTeleport, M meta)Creates an instance of aTimedTeleportRecordrecord class.TimedTeleportRecord(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location destination, @NotNull Consumer<TeleportUtils.TimedTeleportRecord<Object>> onCancel, @NotNull Function<TeleportUtils.TimedTeleportRecord<Object>,Boolean> onTeleport, M meta)TimedTeleportRecord(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location destination, @NotNull Consumer<TeleportUtils.TimedTeleportRecord<Object>> onCancel, @NotNull Function<TeleportUtils.TimedTeleportRecord<Object>,Boolean> onTeleport, M meta)