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 to facilitate plugin handling of
map
displays.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 io.papermc.paper.event.world
Constructors in io.papermc.paper.event.world with parameters of type WorldModifierConstructorDescriptionStructureLocateEvent(@NotNull World world, @NotNull Location origin, @NotNull StructureType structureType, int radius, boolean findUnexplored)
WorldGameRuleChangeEvent(@NotNull World world, @Nullable CommandSender commandSender, @NotNull GameRule<?> gameRule, @NotNull 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(@NotNull World world, @NotNull WorldBorder worldBorder, @NotNull WorldBorderBoundsChangeEvent.Type type, double oldSize, double newSize, long duration)
WorldBorderBoundsChangeFinishEvent(@NotNull World world, @NotNull WorldBorder worldBorder, double oldSize, double newSize, double duration)
WorldBorderCenterChangeEvent(@NotNull World world, @NotNull WorldBorder worldBorder, @NotNull Location oldCenter, @NotNull Location newCenter)
WorldBorderEvent(@NotNull World world, @NotNull WorldBorder worldBorder)
-
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.Bukkit.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.Server.getWorld(@NotNull NamespacedKey worldKey)
Gets the world from the given NamespacedKeyMethods 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 worldstatic ChunkGenerator.ChunkData
Bukkit.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)
Create a new explorer map targeting the closest nearby structure of a givenStructureType
.Bukkit.createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType, 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)
Create a new explorer map targeting the closest nearby structure of a givenStructureType
.Server.createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType, 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.static ChunkGenerator.ChunkData
Bukkit.createVanillaChunkData(@NotNull World world, int x, int z)
Create a ChunkData for use in a generator, that is populated by the vanilla generator for that worldServer.createVanillaChunkData(@NotNull World world, int x, int z)
Create a ChunkData for use in a generator, that is populated by the vanilla generator for that worldvoid
Sets the world that this location resides instatic boolean
Bukkit.unloadWorld(@NotNull World world, boolean save)
Unloads the given world.boolean
Server.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 World -
Uses of World in org.bukkit.entity
Methods in org.bukkit.entity that return World -
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.LightningStrikeEvent(@NotNull World world, @NotNull LightningStrike bolt, @NotNull LightningStrikeEvent.Cause cause)
ThunderChangeEvent(@NotNull World world, boolean to)
Deprecated.ThunderChangeEvent(@NotNull World world, boolean to, @NotNull ThunderChangeEvent.Cause cause)
WeatherChangeEvent(@NotNull World world, boolean to)
Deprecated.WeatherChangeEvent(@NotNull World world, boolean to, @NotNull WeatherChangeEvent.Cause cause)
WeatherEvent(@NotNull World where)
-
Uses of World in org.bukkit.event.world
Methods 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 WorldModifierConstructorDescriptionLootGenerateEvent(@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, @NotNull PortalCreateEvent.CreateReason reason)
Deprecated.PortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @Nullable Entity entity, @NotNull PortalCreateEvent.CreateReason reason)
SpawnChangeEvent(@NotNull World world, @NotNull Location previousLocation)
TimeSkipEvent(@NotNull World world, @NotNull TimeSkipEvent.SkipReason skipReason, @org.jetbrains.annotations.NotNull long skipAmount)
WorldEvent(@NotNull World world)
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 with parameters of type WorldModifier and TypeMethodDescriptionboolean
Tests if the specified location is valid for a natural spawn positionprotected @NotNull ChunkGenerator.ChunkData
ChunkGenerator.createChunkData(@NotNull World world)
Create a ChunkData for a world.ChunkGenerator.createVanillaChunkData(@NotNull World world, int x, int z)
Create a ChunkData for use in a generator, that is populated by the vanilla generator for that worldChunkGenerator.generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull ChunkGenerator.BiomeGrid biome)
Shapes the chunk for the given coordinates.ChunkGenerator.getDefaultPopulators(@NotNull World world)
Gets a list of defaultBlockPopulator
s to apply to a given worldChunkGenerator.getFixedSpawnLocation(@NotNull World world, @NotNull Random random)
Gets a fixed spawn location to use for a given world.abstract void
Populates an area of blocks at or around the given chunk. -
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.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