Uses of Interface
org.bukkit.World
Packages that use World
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world,
including special states.Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.Events related to raids.Events relating to weather.Classes to facilitate
world generation
implementation.Classes involved in manipulating player inventories and item interactions.
Classes to facilitate plugin handling of
map displays.Classes dedicated to handling data pack information.
Multi and single purpose classes to facilitate various programmatic
concepts.
Classes dedicated to facilitating deterministic noise.
-
Uses of World in com.destroystokyo.paper
Methods in com.destroystokyo.paper with parameters of type WorldModifier and TypeMethodDescriptionSets the location of where to spawn the particle -
Uses of World in com.destroystokyo.paper.brigadier
Methods in com.destroystokyo.paper.brigadier that return WorldModifier and TypeMethodDescriptionBukkitBrigadierCommandSource.getBukkitWorld()Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of World in com.destroystokyo.paper.event.entity
Methods in com.destroystokyo.paper.event.entity that return WorldModifier and TypeMethodDescriptionEntityAddToWorldEvent.getWorld()EntityRemoveFromWorldEvent.getWorld()Constructors in com.destroystokyo.paper.event.entity with parameters of type WorldModifierConstructorDescriptionEntityAddToWorldEvent(Entity entity, World world) EntityRemoveFromWorldEvent(Entity entity, World world) -
Uses of World in io.papermc.paper.command.brigadier.argument
Methods in io.papermc.paper.command.brigadier.argument that return types with arguments of type World -
Uses of World in io.papermc.paper.event.entity
Methods in io.papermc.paper.event.entity that return WorldModifier and TypeMethodDescriptionEntityPortalReadyEvent.getTargetWorld()Gets the world this portal will teleport to.Methods in io.papermc.paper.event.entity with parameters of type WorldModifier and TypeMethodDescriptionvoidEntityPortalReadyEvent.setTargetWorld(@Nullable World targetWorld) Sets the world this portal will teleport to.Constructors in io.papermc.paper.event.entity with parameters of type WorldModifierConstructorDescriptionEntityPortalReadyEvent(Entity entity, @Nullable World targetWorld, PortalType portalType) -
Uses of World in io.papermc.paper.event.world
Constructors in io.papermc.paper.event.world with parameters of type WorldModifierConstructorDescriptionStructuresLocateEvent(World world, Location origin, List<Structure> structures, int radius, boolean findUnexplored) WorldGameRuleChangeEvent(World world, @Nullable CommandSender commandSender, GameRule<?> gameRule, String value) -
Uses of World in io.papermc.paper.event.world.border
Constructors in io.papermc.paper.event.world.border with parameters of type WorldModifierConstructorDescriptionWorldBorderBoundsChangeEvent(World world, WorldBorder worldBorder, WorldBorderBoundsChangeEvent.Type type, double oldSize, double newSize, long duration) WorldBorderBoundsChangeFinishEvent(World world, WorldBorder worldBorder, double oldSize, double newSize, double duration) WorldBorderCenterChangeEvent(World world, WorldBorder worldBorder, Location oldCenter, Location newCenter) protectedWorldBorderEvent(World world, WorldBorder worldBorder) -
Uses of World in io.papermc.paper.math
Methods in io.papermc.paper.math with parameters of type WorldModifier and TypeMethodDescriptiondefault LocationPosition.toLocation(World world) Creates a new location object at this position with the specified world -
Uses of World in io.papermc.paper.threadedregions.scheduler
Methods in io.papermc.paper.threadedregions.scheduler with parameters of type WorldModifier and TypeMethodDescriptionvoidRegionScheduler.execute(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Runnable run) Schedules a task to be executed on the region which owns the location.RegionScheduler.run(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task) Schedules a task to be executed on the region which owns the location on the next tick.RegionScheduler.runAtFixedRate(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task, long initialDelayTicks, long periodTicks) Schedules a repeating task to be executed on the region which owns the location after the initial delay with the specified period.RegionScheduler.runDelayed(@NotNull Plugin plugin, @NotNull World world, int chunkX, int chunkZ, @NotNull Consumer<ScheduledTask> task, long delayTicks) Schedules a task to be executed on the region which owns the location after the specified delay in ticks. -
Uses of World in org.bukkit
Methods in org.bukkit that return WorldModifier and TypeMethodDescriptionBukkit.createWorld(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.Server.createWorld(@NotNull WorldCreator creator) Creates or loads a world with the given name using the specified options.WorldCreator.createWorld()Creates a world with the specified options.Gets the world with the given name.Gets the world from the given Unique ID.Gets the world from the given KeyBukkit.getWorld(@NotNull NamespacedKey worldKey) Gets the world from the given NamespacedKeyChunk.getWorld()Gets the world containing this chunkLocation.getWorld()Gets the world that this location resides inGets the world with the given name.Gets the world from the given Unique ID.Gets the world from the given KeyServer.getWorld(@NotNull NamespacedKey worldKey) Gets the world from the given NamespacedKeyWorldBorder.getWorld()Get theWorldin which the border resides.Methods in org.bukkit that return types with arguments of type WorldModifier and TypeMethodDescriptionBukkit.getWorlds()Gets a list of all worlds on this server.Server.getWorlds()Gets a list of all worlds on this server.Methods in org.bukkit with parameters of type WorldModifier and TypeMethodDescriptionCopies the options from the specified worldGet the crafted item using the list ofItemStackprovided.Bukkit.craftItem(@NotNull ItemStack @NotNull [] craftingMatrix, @NotNull World world, @NotNull Player player) Get the crafted item using the list ofItemStackprovided.Get the crafted item using the list ofItemStackprovided.Server.craftItem(@NotNull ItemStack @NotNull [] craftingMatrix, @NotNull World world, @NotNull Player player) Get the crafted item using the list ofItemStackprovided.static @NotNull ItemCraftResultGet the crafted item using the list ofItemStackprovided.static @NotNull ItemCraftResultBukkit.craftItemResult(@NotNull ItemStack @NotNull [] craftingMatrix, @NotNull World world, @NotNull Player player) Get the crafted item using the list ofItemStackprovided.Get the crafted item using the list ofItemStackprovided.Server.craftItemResult(@NotNull ItemStack @NotNull [] craftingMatrix, @NotNull World world, @NotNull Player player) Get the crafted item using the list ofItemStackprovided.static ChunkGenerator.ChunkDataBukkit.createChunkData(@NotNull World world) Create a ChunkData for use in a generator.Server.createChunkData(@NotNull World world) Create a ChunkData for use in a generator.Bukkit.createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType) Deprecated.Bukkit.createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType, int radius, boolean findUnexplored) Bukkit.createExplorerMap(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon) Create a new explorer map targeting the closest nearby structure of a givenStructureType.Bukkit.createExplorerMap(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon, int radius, boolean findUnexplored) Create a new explorer map targeting the closest nearby structure of a givenStructureType.Server.createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType) Server.createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType, int radius, boolean findUnexplored) Server.createExplorerMap(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon) Create a new explorer map targeting the closest nearby structure of a givenStructureType.Server.createExplorerMap(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon, int radius, boolean findUnexplored) Create a new explorer map targeting the closest nearby structure of a givenStructureType.Create a new map with an automatically assigned ID.Create a new map with an automatically assigned ID.UnsafeValues.deserializeEntity(byte @NotNull [] data, @NotNull World world) Deprecated.Deserializes the entity from data.UnsafeValues.deserializeEntity(byte @NotNull [] data, @NotNull World world, boolean preserveUUID) Deprecated.Deserializes the entity from data.UnsafeValues.deserializeEntity(byte @NotNull [] data, @NotNull World world, boolean preserveUUID, boolean preservePassengers) Deprecated.Deserializes the entity from data.Get theRecipefor the list of ItemStacks provided.Get theRecipefor the list of ItemStacks provided.static double @Nullable []Bukkit.getRegionTPS(@NotNull World world, int chunkX, int chunkZ) Gets the TPS from the region which owns the specified chunk, ornullif no region owns the specified location.double @Nullable []Server.getRegionTPS(@NotNull World world, int chunkX, int chunkZ) Gets the TPS from the region which owns the specified chunk, ornullif no region owns the specified location.booleanMaterial.isEnabledByFeature(@NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.static booleanBukkit.isOwnedByCurrentRegion(@NotNull World world, int chunkX, int chunkZ) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified world and chunk position.static booleanBukkit.isOwnedByCurrentRegion(@NotNull World world, int chunkX, int chunkZ, int squareRadiusChunks) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks centered at the specified world and chunk position within the specified square radius.static booleanBukkit.isOwnedByCurrentRegion(@NotNull World world, int minChunkX, int minChunkZ, int maxChunkX, int maxChunkZ) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks in the rectangle specified by the min and max parameters.static booleanBukkit.isOwnedByCurrentRegion(@NotNull World world, Position position) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified world and block position.static booleanBukkit.isOwnedByCurrentRegion(@NotNull World world, Position position, int squareRadiusChunks) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks centered at the specified block position within the specified square radius.booleanServer.isOwnedByCurrentRegion(@NotNull World world, int chunkX, int chunkZ) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified world and chunk position.booleanServer.isOwnedByCurrentRegion(@NotNull World world, int chunkX, int chunkZ, int squareRadiusChunks) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks centered at the specified world and chunk position within the specified square radius.booleanServer.isOwnedByCurrentRegion(@NotNull World world, int minChunkX, int minChunkZ, int maxChunkX, int maxChunkZ) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks in the rectangle specified by the min and max parameters.booleanServer.isOwnedByCurrentRegion(@NotNull World world, Position position) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified world and block position.booleanServer.isOwnedByCurrentRegion(@NotNull World world, Position position, int squareRadiusChunks) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks centered at the specified block position within the specified square radius.voidSets the world that this location resides inLocation.toLocation(@NotNull World world) static booleanBukkit.unloadWorld(@NotNull World world, boolean save) Unloads the given world.booleanServer.unloadWorld(@NotNull World world, boolean save) Unloads the given world.Constructors in org.bukkit with parameters of type World -
Uses of World in org.bukkit.block
Methods in org.bukkit.block that return WorldModifier and TypeMethodDescriptionBlock.getWorld()Gets the world which contains this BlockBlockState.getWorld()Gets the world which contains the block represented by this block state.DoubleChest.getWorld()Methods in org.bukkit.block with parameters of type WorldModifier and TypeMethodDescriptionbooleanBlockType.isEnabledByFeature(World world) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of World in org.bukkit.entity
Methods in org.bukkit.entity that return WorldModifier and TypeMethodDescriptionEntity.getWorld()Gets the current world this entity resides inMethods in org.bukkit.entity with parameters of type WorldModifier and TypeMethodDescriptionEntitySnapshot.createEntity(@NotNull World world) Creates an entity using this template.booleanEntityType.isEnabledByFeature(@NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of World in org.bukkit.event.player
Methods in org.bukkit.event.player that return WorldModifier and TypeMethodDescriptionPlayerChangedWorldEvent.getFrom()Gets the world the player is switching from.Constructors in org.bukkit.event.player with parameters of type WorldModifierConstructorDescriptionPlayerChangedWorldEvent(@NotNull Player player, @NotNull World from) -
Uses of World in org.bukkit.event.raid
Constructors in org.bukkit.event.raid with parameters of type World -
Uses of World in org.bukkit.event.weather
Fields in org.bukkit.event.weather declared as WorldMethods in org.bukkit.event.weather that return WorldModifier and TypeMethodDescriptionWeatherEvent.getWorld()Returns the World where this event is occurringConstructors in org.bukkit.event.weather with parameters of type WorldModifierConstructorDescriptionLightningStrikeEvent(@NotNull World world, @NotNull LightningStrike bolt) Deprecated, for removal: This API element is subject to removal in a future version.LightningStrikeEvent(@NotNull World world, @NotNull LightningStrike bolt, @NotNull LightningStrikeEvent.Cause cause) ThunderChangeEvent(@NotNull World world, boolean newThunderState) Deprecated, for removal: This API element is subject to removal in a future version.ThunderChangeEvent(@NotNull World world, boolean newThunderState, @NotNull ThunderChangeEvent.Cause cause) WeatherChangeEvent(@NotNull World world, boolean newWeatherState) Deprecated, for removal: This API element is subject to removal in a future version.WeatherChangeEvent(@NotNull World world, boolean newWeatherState, @NotNull WeatherChangeEvent.Cause cause) protectedWeatherEvent(@NotNull World where) -
Uses of World in org.bukkit.event.world
Fields in org.bukkit.event.world declared as WorldMethods in org.bukkit.event.world that return WorldModifier and TypeMethodDescriptionWorldEvent.getWorld()Gets the world primarily involved with this eventConstructors in org.bukkit.event.world with parameters of type WorldModifierConstructorDescriptionAsyncStructureGenerateEvent(@NotNull World world, boolean async, @NotNull AsyncStructureGenerateEvent.Cause cause, @NotNull Structure structure, @NotNull BoundingBox boundingBox, int chunkX, int chunkZ) AsyncStructureSpawnEvent(@NotNull World world, @NotNull Structure structure, @NotNull BoundingBox boundingBox, int chunkX, int chunkZ) LootGenerateEvent(@NotNull World world, @Nullable Entity entity, @Nullable InventoryHolder inventoryHolder, @NotNull LootTable lootTable, @NotNull LootContext lootContext, @NotNull List<ItemStack> items, boolean plugin) PortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @Nullable Entity entity, @NotNull PortalCreateEvent.CreateReason reason) PortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @NotNull PortalCreateEvent.CreateReason reason) Deprecated, for removal: This API element is subject to removal in a future version.SpawnChangeEvent(@NotNull World world, @NotNull Location previousLocation) TimeSkipEvent(@NotNull World world, @NotNull TimeSkipEvent.SkipReason skipReason, long skipAmount) protectedWorldEvent(@NotNull World world) protectedWorldEvent(@NotNull World world, boolean isAsync) WorldInitEvent(@NotNull World world) WorldLoadEvent(@NotNull World world) WorldSaveEvent(@NotNull World world) WorldUnloadEvent(@NotNull World world) -
Uses of World in org.bukkit.generator
Methods in org.bukkit.generator that return WorldModifier and TypeMethodDescriptionLimitedRegion.getWorld()Gets theWorldobject this region represents.Methods in org.bukkit.generator with parameters of type WorldModifier and TypeMethodDescriptionbooleanTests if the specified location is valid for a natural spawn positionprotected final @NotNull ChunkGenerator.ChunkDataChunkGenerator.createChunkData(@NotNull World world) Deprecated.ChunkGenerator.ChunkDataare now directly providedChunkGenerator.generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull ChunkGenerator.BiomeGrid biome) Deprecated.The generation is now split up and the new methods should be used, seeChunkGeneratorChunkGenerator.getDefaultPopulators(@NotNull World world) Gets a list of defaultBlockPopulators to apply to a given worldChunkGenerator.getFixedSpawnLocation(@NotNull World world, @NotNull Random random) Gets a fixed spawn location to use for a given world.void -
Uses of World in org.bukkit.inventory
Methods in org.bukkit.inventory with parameters of type WorldModifier and TypeMethodDescriptionItemFactory.enchantItem(@NotNull World world, @NotNull ItemStack item, int level, boolean allowTreasures) booleanItemType.isEnabledByFeature(World world) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of World in org.bukkit.map
Methods in org.bukkit.map that return WorldModifier and TypeMethodDescriptionMapView.getWorld()Get the world that this map is associated with.Methods in org.bukkit.map with parameters of type World -
Uses of World in org.bukkit.packs
Methods in org.bukkit.packs with parameters of type WorldModifier and TypeMethodDescriptionDataPackManager.getDisabledDataPacks(@NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Return all the disabledDataPackin the World.DataPackManager.getEnabledDataPacks(@NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Return all the enabledDataPackin the World.booleanDataPackManager.isEnabledByFeature(@NotNull Material material, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the Material is enabled for use by the features in World.booleanDataPackManager.isEnabledByFeature(@NotNull BlockType blockType, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the BlockType is enabled for use by the features in World.booleanDataPackManager.isEnabledByFeature(@NotNull EntityType entityType, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the EntityType is enabled for use by the Features in World.booleanDataPackManager.isEnabledByFeature(@NotNull ItemType itemType, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the ItemType is enabled for use by the features in World. -
Uses of World in org.bukkit.util
Methods in org.bukkit.util with parameters of type WorldModifier and TypeMethodDescriptionVector.toLocation(@NotNull World world) Gets a Location version of this vector with yaw and pitch being 0.Vector.toLocation(@NotNull World world, float yaw, float pitch) Gets a Location version of this vector.Constructors in org.bukkit.util with parameters of type World -
Uses of World in org.bukkit.util.noise
Constructors in org.bukkit.util.noise with parameters of type WorldModifierConstructorDescriptionPerlinNoiseGenerator(@NotNull World world) Creates a seeded perlin noise generator for the given worldPerlinOctaveGenerator(@NotNull World world, int octaves) Creates a perlin octave generator for the given worldSimplexNoiseGenerator(@NotNull World world) Creates a seeded simplex noise generator for the given worldSimplexOctaveGenerator(@NotNull World world, int octaves) Creates a simplex octave generator for the given world
Bukkit.createExplorerMap(World, Location, org.bukkit.generator.structure.StructureType, org.bukkit.map.MapCursor.Type)