Uses of Interface
org.bukkit.World
-
Packages that use World Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.event.player org.bukkit.event.raid Eventsrelated to raids.org.bukkit.event.weather Eventsrelating to weather.org.bukkit.event.world org.bukkit.generator Classes to facilitateworldgeneration implementation.org.bukkit.map Classes to facilitate plugin handling ofmapdisplays.org.bukkit.util Multi and single purpose classes to facilitate various programmatic concepts.org.bukkit.util.noise Classes dedicated to facilitating deterministic noise. -
-
Uses of World in org.bukkit
Methods in org.bukkit that return World Modifier and Type Method Description static @Nullable WorldBukkit. createWorld(@NotNull WorldCreator creator)Creates or loads a world with the given name using the specified options.@Nullable WorldServer. createWorld(@NotNull WorldCreator creator)Creates or loads a world with the given name using the specified options.@Nullable WorldWorldCreator. createWorld()Creates a world with the specified options.static @Nullable WorldBukkit. getWorld(@NotNull String name)Gets the world with the given name.static @Nullable WorldBukkit. getWorld(@NotNull UUID uid)Gets the world from the given Unique ID.@NotNull WorldChunk. getWorld()Gets the world containing this chunk@Nullable WorldLocation. getWorld()Gets the world that this location resides in@Nullable WorldServer. getWorld(@NotNull String name)Gets the world with the given name.@Nullable WorldServer. getWorld(@NotNull UUID uid)Gets the world from the given Unique ID.Methods in org.bukkit that return types with arguments of type World Modifier and Type Method Description static @NotNull List<World>Bukkit. getWorlds()Gets a list of all worlds on this server.@NotNull List<World>Server. getWorlds()Gets a list of all worlds on this server.Methods in org.bukkit with parameters of type World Modifier and Type Method Description @NotNull WorldCreatorWorldCreator. copy(@NotNull World world)Copies the options from the specified worldstatic ChunkGenerator.ChunkDataBukkit. createChunkData(@NotNull World world)Create a ChunkData for use in a generator.ChunkGenerator.ChunkDataServer. createChunkData(@NotNull World world)Create a ChunkData for use in a generator.static @NotNull ItemStackBukkit. createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType)Create a new explorer map targeting the closest nearby structure of a givenStructureType.static @NotNull ItemStackBukkit. 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.@NotNull ItemStackServer. createExplorerMap(@NotNull World world, @NotNull Location location, @NotNull StructureType structureType)Create a new explorer map targeting the closest nearby structure of a givenStructureType.@NotNull ItemStackServer. 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.static @NotNull MapViewBukkit. createMap(@NotNull World world)Create a new map with an automatically assigned ID.@NotNull MapViewServer. createMap(@NotNull World world)Create a new map with an automatically assigned ID.voidLocation. setWorld(@Nullable World world)Sets the world that this location resides instatic 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 Constructor Description Location(@Nullable World world, double x, double y, double z)Constructs a new Location with the given coordinatesLocation(@Nullable World world, double x, double y, double z, float yaw, float pitch)Constructs a new Location with the given coordinates and direction -
Uses of World in org.bukkit.block
Methods in org.bukkit.block that return World Modifier and Type Method Description @NotNull WorldBlock. getWorld()Gets the world which contains this Block@NotNull WorldBlockState. getWorld()Gets the world which contains the block represented by this block state.@Nullable WorldDoubleChest. getWorld() -
Uses of World in org.bukkit.entity
Methods in org.bukkit.entity that return World Modifier and Type Method Description @NotNull WorldEntity. getWorld()Gets the current world this entity resides in -
Uses of World in org.bukkit.event.player
Methods in org.bukkit.event.player that return World Modifier and Type Method Description @NotNull WorldPlayerChangedWorldEvent. getFrom()Gets the world the player is switching from.Constructors in org.bukkit.event.player with parameters of type World Constructor Description PlayerChangedWorldEvent(@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 Constructor Description RaidEvent(@NotNull Raid raid, @NotNull World world)RaidFinishEvent(@NotNull Raid raid, @NotNull World world, @NotNull List<Player> winners)RaidSpawnWaveEvent(@NotNull Raid raid, @NotNull World world, @Nullable Raider leader, @NotNull List<Raider> raiders)RaidStopEvent(@NotNull Raid raid, @NotNull World world, @NotNull RaidStopEvent.Reason reason)RaidTriggerEvent(@NotNull Raid raid, @NotNull World world, @NotNull Player player) -
Uses of World in org.bukkit.event.weather
Fields in org.bukkit.event.weather declared as World Modifier and Type Field Description protected WorldWeatherEvent. worldMethods in org.bukkit.event.weather that return World Modifier and Type Method Description @NotNull WorldWeatherEvent. getWorld()Returns the World where this event is occurringConstructors in org.bukkit.event.weather with parameters of type World Constructor Description LightningStrikeEvent(@NotNull World world, @NotNull LightningStrike bolt)Deprecated.LightningStrikeEvent(@NotNull World world, @NotNull LightningStrike bolt, @NotNull LightningStrikeEvent.Cause cause)ThunderChangeEvent(@NotNull World world, boolean to)WeatherChangeEvent(@NotNull World world, boolean to)WeatherEvent(@NotNull World where) -
Uses of World in org.bukkit.event.world
Methods in org.bukkit.event.world that return World Modifier and Type Method Description @NotNull WorldWorldEvent. getWorld()Gets the world primarily involved with this eventConstructors in org.bukkit.event.world with parameters of type World Constructor Description 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, @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 World Modifier and Type Method Description booleanChunkGenerator. canSpawn(@NotNull World world, int x, int z)Tests if the specified location is valid for a natural spawn positionprotected @NotNull ChunkGenerator.ChunkDataChunkGenerator. createChunkData(@NotNull World world)Create a ChunkData for a world.@NotNull ChunkGenerator.ChunkDataChunkGenerator. generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull ChunkGenerator.BiomeGrid biome)Shapes the chunk for the given coordinates.@NotNull List<BlockPopulator>ChunkGenerator. getDefaultPopulators(@NotNull World world)Gets a list of defaultBlockPopulators to apply to a given world@Nullable LocationChunkGenerator. getFixedSpawnLocation(@NotNull World world, @NotNull Random random)Gets a fixed spawn location to use for a given world.abstract voidBlockPopulator. populate(@NotNull World world, @NotNull Random random, @NotNull Chunk source)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 World Modifier and Type Method Description @Nullable WorldMapView. getWorld()Get the world that this map is associated with.Methods in org.bukkit.map with parameters of type World Modifier and Type Method Description voidMapView. setWorld(@NotNull World world)Set the world that this map is associated with. -
Uses of World in org.bukkit.util
Methods in org.bukkit.util with parameters of type World Modifier and Type Method Description @NotNull LocationVector. toLocation(@NotNull World world)Gets a Location version of this vector with yaw and pitch being 0.@NotNull LocationVector. 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 Constructor Description BlockIterator(@NotNull World world, @NotNull Vector start, @NotNull Vector direction, double yOffset, int maxDistance)Constructs the BlockIterator. -
Uses of World in org.bukkit.util.noise
Constructors in org.bukkit.util.noise with parameters of type World Constructor Description PerlinNoiseGenerator(@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
-