Uses of Interface
io.papermc.paper.world.WorldClock
Packages that use WorldClock
Package
Description
Collection of registry entry types that may be created or modified via the
RegistryEvent.This package contains events related to the Paper registry system.
World API.
The root package of the Bukkit API, contains generalized API classes.
-
Uses of WorldClock in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type WorldClockModifier and TypeFieldDescriptionstatic final RegistryKey<WorldClock> RegistryKey.WORLD_CLOCKData-driven registry for world clocks. -
Uses of WorldClock in io.papermc.paper.registry.data
Subinterfaces with type arguments of type WorldClock in io.papermc.paper.registry.dataModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for theWorldClockRegistryEntryplugins may change in applicable registry events.Methods in io.papermc.paper.registry.data that return types with arguments of type WorldClockModifier and TypeMethodDescriptionTimelineRegistryEntry.clock()Gets the clock that drives this timeline.Method parameters in io.papermc.paper.registry.data with type arguments of type WorldClockModifier and TypeMethodDescriptionTimelineRegistryEntry.Builder.clock(TypedKey<WorldClock> clock) Sets the clock that drives this timeline. -
Uses of WorldClock in io.papermc.paper.registry.event
Fields in io.papermc.paper.registry.event with type parameters of type WorldClockModifier and TypeFieldDescriptionstatic final RegistryEventProvider<WorldClock, WorldClockRegistryEntry.Builder> RegistryEvents.WORLD_CLOCK -
Uses of WorldClock in io.papermc.paper.registry.keys
Fields in io.papermc.paper.registry.keys with type parameters of type WorldClockModifier and TypeFieldDescriptionstatic final TypedKey<WorldClock> WorldClockKeys.OVERWORLDminecraft:overworldstatic final TypedKey<WorldClock> WorldClockKeys.THE_ENDminecraft:the_endMethods in io.papermc.paper.registry.keys that return types with arguments of type WorldClockModifier and TypeMethodDescriptionstatic TypedKey<WorldClock> Creates a typed key forWorldClockin the registryminecraft:world_clock. -
Uses of WorldClock in io.papermc.paper.world
Fields in io.papermc.paper.world declared as WorldClockModifier and TypeFieldDescriptionstatic final WorldClockWorldClocks.OVERWORLDstatic final WorldClockWorldClocks.THE_ENDMethods in io.papermc.paper.world that return WorldClock -
Uses of WorldClock in org.bukkit
Methods in org.bukkit that return WorldClockModifier and TypeMethodDescriptionWorld.getDefaultClock()Gets the default clock of this world's dimension type.Methods in org.bukkit with parameters of type WorldClockModifier and TypeMethodDescriptionfloatWorld.getClockRate(@NotNull WorldClock clock) Gets the rate at which the given clock advances in this world, in clock ticks per game tick.longWorld.getFullTime(@NotNull WorldClock clock) Gets the total number of ticks the given clock has advanced in this world.booleanWorld.isClockPaused(@NotNull WorldClock clock) Gets whether the given clock is paused in this world.voidWorld.setClockPaused(@NotNull WorldClock clock, boolean paused) Sets whether the given clock is paused in this world.voidWorld.setClockRate(@NotNull WorldClock clock, float rate) Sets the rate at which the given clock advances in this world, in clock ticks per game tick.voidWorld.setFullTime(@NotNull WorldClock clock, long time) Sets the total number of ticks of the given clock in this world. -
Uses of WorldClock in org.bukkit.event.world
Methods in org.bukkit.event.world that return WorldClockModifier and TypeMethodDescriptionClockTimeSkipEvent.getClock()Gets the clock whose time is skipping.Constructors in org.bukkit.event.world with parameters of type WorldClockModifierConstructorDescriptionClockTimeSkipEvent(WorldClock clock, ClockTimeSkipEvent.SkipReason skipReason, long skipAmount) TimeSkipEvent(World world, WorldClock clock, ClockTimeSkipEvent.SkipReason skipReason, long skipAmount)