Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAction(Consumer<Path>) - Method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
-
Adds a custom action to be executed during the shutdown process of the scheduled world action.
- addFileFilter(BiPredicate<Path, BasicFileAttributes>) - Method in class net.thenextlvl.worlds.api.event.WorldCloneEvent
-
Adds a predicate to filter files during the cloning process.
- addLayer(Layer) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Add a layer to the preset
- addStructure(Structure) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Add a structure to the preset
- AMPLIFIED - Static variable in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Represents the "amplified" generator type.
- asString() - Method in record class net.thenextlvl.worlds.api.generator.Generator
B
- backup(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- backupAsync(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Creates a backup for the given world and returns the size of the backup in bytes.
- biome() - Method in class net.thenextlvl.worlds.api.generator.BiomeSource.FixedBiomeSource
-
Gets the biome key associated with this biome source.
- biome() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Retrieves the biome associated with the preset.
- biome(Biome) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Sets the biome for the current preset.
- Biome - Record Class in net.thenextlvl.worlds.api.preset
- Biome(Key) - Constructor for record class net.thenextlvl.worlds.api.preset.Biome
-
Creates an instance of a
Biomerecord class. - Biome(Biome) - Constructor for record class net.thenextlvl.worlds.api.preset.Biome
- biomeProvider() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the
BiomeProviderassociated with the builder. - biomeProvider(String) - Method in record class net.thenextlvl.worlds.api.generator.Generator
- biomeProvider(BiomeProvider) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the
BiomeProviderinstance for the builder. - biomes() - Method in class net.thenextlvl.worlds.api.generator.BiomeSource.CheckerboardColumnBiomeSource
-
Gets the set of biomes associated with this biome source.
- BiomeSource - Interface in net.thenextlvl.worlds.api.generator
- BiomeSource.CheckerboardColumnBiomeSource - Class in net.thenextlvl.worlds.api.generator
-
Represents the "checkerboard" biome source.
- BiomeSource.FixedBiomeSource - Class in net.thenextlvl.worlds.api.generator
-
Represents the "fixed" biome source.
- block() - Method in record class net.thenextlvl.worlds.api.preset.Layer
-
Returns the value of the
blockrecord component. - bonusChest() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves whether a bonus chest should be generated in the world.
- bonusChest(Boolean) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets whether a bonus chest should be generated in the world.
- BOTTOMLESS_PIT - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- build() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Constructs a new Level instance based on the current state of the builder.
C
- cancelScheduledDeletion(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Cancels the deletion process for the specified world, if scheduled.
- cancelScheduledRegeneration(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Cancels the regeneration process for the specified world, if scheduled.
- canLoad(Path) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Determines if a level located at the specified path can be loaded.
- checkerboard(Set<Key>) - Static method in interface net.thenextlvl.worlds.api.generator.BiomeSource
-
Creates a CheckerboardColumnBiomeSource instance using the specified biomes.
- chunkGenerator() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the
ChunkGeneratorinstance configured for the builder. - chunkGenerator(ChunkGenerator) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the
ChunkGeneratorinstance to be used in the builder. - CLASSIC_FLAT - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- clone(World, Consumer<Level.Builder>, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- cloneAsync(World, Consumer<Level.Builder>, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Clones the specified world with the possibility to modify its properties through a builder.
- contains(Key) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Checks if the specified key is contained within the link tree.
- contains(World) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Checks if the provided world is contained within the link tree.
- create() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Deprecated, for removal: This API element is subject to removal in a future version.
- createAsync() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Creates and initializes a new
Worldbased on the current configuration of theLevelinstance.
D
- DEBUG - Static variable in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Represents the "debug" generator type.
- decoration() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Determines whether decoration is enabled for the preset.
- decoration(boolean) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Sets whether the decoration should be enabled for the preset.
- delete(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DELETE - Enum constant in enum class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent.ActionType
-
This action is used to schedule the removal of a
World. - deleteAsync(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deletes the specified world from the server and disk.
- deserialize(JsonObject) - Static method in class net.thenextlvl.worlds.api.preset.Preset
-
Deserialize a JSON object into a preset.
- DESERT - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- dimensionType() - Method in record class net.thenextlvl.worlds.api.generator.LevelStem
-
Returns the value of the
dimensionTyperecord component. - DimensionType - Record Class in net.thenextlvl.worlds.api.generator
- DimensionType(Key) - Constructor for record class net.thenextlvl.worlds.api.generator.DimensionType
-
Creates an instance of a
DimensionTyperecord class. - directory() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the directory path associated with the builder.
- directory(Path) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the directory path associated with the builder.
E
- enabled() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- enabled(TriState) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- END - Static variable in record class net.thenextlvl.worlds.api.generator.LevelStem
- equals(Object) - Method in record class net.thenextlvl.worlds.api.generator.DimensionType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.thenextlvl.worlds.api.generator.Generator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.thenextlvl.worlds.api.generator.LevelStem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.thenextlvl.worlds.api.preset.Biome
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.thenextlvl.worlds.api.preset.Layer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class net.thenextlvl.worlds.api.preset.Preset
- equals(Object) - Method in record class net.thenextlvl.worlds.api.preset.Structure
-
Indicates whether some other object is "equal to" this one.
F
- FAILED - Enum constant in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Indicates that the deletion process failed due to an unspecified error or issue that prevented the operation from completing successfully.
- features() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Determines whether features are enabled for the preset.
- features(boolean) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Sets whether the features should be enabled for the preset.
- fixed(Key) - Static method in interface net.thenextlvl.worlds.api.generator.BiomeSource
-
Creates a FixedBiomeSource instance with the specified biome.
- FLAT - Static variable in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Represents the "flat" generator type.
G
- generator() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the generator configuration if one is defined.
- generator(String) - Method in record class net.thenextlvl.worlds.api.generator.Generator
- generator(Generator) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the generator configuration for the builder.
- Generator - Record Class in net.thenextlvl.worlds.api.generator
-
This record represents a generator that interacts with the Minecraft world generation system.
- Generator(Plugin, String) - Constructor for record class net.thenextlvl.worlds.api.generator.Generator
-
Creates an instance of a
Generatorrecord class. - GeneratorException - Exception Class in net.thenextlvl.worlds.api.exception
-
The GeneratorException class is a custom exception that is thrown when a requested plugin as a generator cannot be found, is disabled, or doesn't provide a chunk generator or biome provider.
- GeneratorException(String, String, String) - Constructor for exception class net.thenextlvl.worlds.api.exception.GeneratorException
-
Constructs a new GeneratorException with the specified plugin name, generator ID, and error message.
- generatorType() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- generatorType(GeneratorType) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- GeneratorType - Record Class in net.thenextlvl.worlds.api.generator
- GeneratorType(Key) - Constructor for record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Creates an instance of a
GeneratorTyperecord class. - generatorView() - Method in interface net.thenextlvl.worlds.api.WorldsProvider
-
Provides access to the
GeneratorViewinstance, which allows querying and interacting with the generator-related functionality of plugins, such as verifying the presence of chunk generators or biome providers. - GeneratorView - Interface in net.thenextlvl.worlds.api.view
- getAction() - Method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
- getActionType() - Method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
-
Retrieves the type of action scheduled to be performed on a world.
- getBackupFolder() - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Retrieves the path to the backup folder.
- getBiomeProvider() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Retrieves an
Optionalcontaining aBiomeProviderassociated with the level, if available. - getByKey(Key) - Static method in record class net.thenextlvl.worlds.api.generator.GeneratorType
- getChunkGenerator() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Retrieves an
Optionalcontaining aChunkGeneratorassociated with the level, if available. - getClone() - Method in class net.thenextlvl.worlds.api.event.WorldCloneEvent
-
Retrieves the cloned
Levelassociated with this event. - getDirectory() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Retrieves the file path associated with this level.
- getEnd() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the
Endworld associated with thisLinkTree, if available. - getFileFilter() - Method in class net.thenextlvl.worlds.api.event.WorldCloneEvent
- getGenerator() - Method in interface net.thenextlvl.worlds.api.level.Level
- getGenerator(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Retrieves the plugin associated with the world generator for the given world, if it exists.
- getGeneratorType() - Method in interface net.thenextlvl.worlds.api.level.Level
- getHandlerList() - Static method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
- getHandlerList() - Static method in class net.thenextlvl.worlds.api.event.WorldBackupEvent
- getHandlerList() - Static method in class net.thenextlvl.worlds.api.event.WorldCloneEvent
- getHandlerList() - Static method in class net.thenextlvl.worlds.api.event.WorldDeleteEvent
- getHandlerList() - Static method in class net.thenextlvl.worlds.api.event.WorldRegenerateEvent
- getHandlers() - Method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
- getHandlers() - Method in class net.thenextlvl.worlds.api.event.WorldBackupEvent
- getHandlers() - Method in class net.thenextlvl.worlds.api.event.WorldCloneEvent
- getHandlers() - Method in class net.thenextlvl.worlds.api.event.WorldDeleteEvent
- getHandlers() - Method in class net.thenextlvl.worlds.api.event.WorldRegenerateEvent
- getId() - Method in exception class net.thenextlvl.worlds.api.exception.GeneratorException
-
Retrieves the unique identifier associated with the generator exception.
- getLevelStem() - Method in interface net.thenextlvl.worlds.api.level.Level
- getLinkProvider() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the
LinkProviderassociated with thisLinkTree. - getLinkTree(Key) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Retrieves the
LinkTreeassociated with the specified key, if available. - getLinkTree(World) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Retrieves the
LinkTreeassociated with the provided world, if available. - getLinkTrees() - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Retrieves all
LinkTreeinstances managed by the provider. - getName() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Retrieves the name of this level.
- getNether() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the
Netherworld associated with thisLinkTree, if available. - getOverworld() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the
Overworldassociated with thisLinkTree, if available. - getPersistedEnd() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the persisted key associated with the
Endworld, if available. - getPersistedNether() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the persisted key associated with the
Netherworld, if available. - getPlugin() - Method in exception class net.thenextlvl.worlds.api.exception.GeneratorException
-
Retrieves the name of the plugin associated with the generator exception.
- getPreset() - Method in interface net.thenextlvl.worlds.api.level.Level
- getSeed() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Retrieves the seed value associated with this Level.
- getSpawnChunkRadius() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Deprecated, for removal: This API element is subject to removal in a future version.spawn chunks will be removed in the next release of minecraft
- getTarget(World, PortalType) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Retrieves the target world associated with the specified source world, based on the given portal type.
- getWorld(World.Environment) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Retrieves the world mapped to the specified environment, if available.
- getWorldContainer() - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Retrieves the path to the world container directory.
- groupProvider() - Method in interface net.thenextlvl.worlds.api.WorldsProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.Worlds does no longer provide PerWorlds anymore.
H
- hardcore() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves whether the world is configured to be in hardcore mode.
- hardcore(Boolean) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets whether the world will be in hardcore mode.
- hasBiomeProvider(Class<? extends Plugin>) - Method in interface net.thenextlvl.worlds.api.view.GeneratorView
-
Checks if the specified plugin class has a declared method for providing a default biome provider.
- hasBonusChest() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Determines whether the level has a bonus chest enabled.
- hasChunkGenerator(Class<? extends Plugin>) - Method in interface net.thenextlvl.worlds.api.view.GeneratorView
-
Checks if the specified plugin class has a declared method for generating custom chunk data.
- hasEndDimension(Path) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Determines whether the specified directory contains an End dimension folder.
- hasGenerator(Plugin) - Method in interface net.thenextlvl.worlds.api.view.GeneratorView
-
Checks whether the given plugin has an associated generator.
- hashCode() - Method in record class net.thenextlvl.worlds.api.generator.DimensionType
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.thenextlvl.worlds.api.generator.Generator
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.thenextlvl.worlds.api.generator.LevelStem
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.thenextlvl.worlds.api.preset.Biome
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.thenextlvl.worlds.api.preset.Layer
-
Returns a hash code value for this object.
- hashCode() - Method in class net.thenextlvl.worlds.api.preset.Preset
- hashCode() - Method in record class net.thenextlvl.worlds.api.preset.Structure
-
Returns a hash code value for this object.
- hasLinkTree(Key) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Checks if the specified world is associated with a
LinkTree. - hasLinkTree(World) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Checks if the specified world is associated with a LinkTree.
- hasNetherDimension(Path) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Determines whether the specified directory contains a Nether dimension folder.
- hasStructures() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Determines whether the level contains structures.
- height() - Method in record class net.thenextlvl.worlds.api.preset.Layer
-
Returns the value of the
heightrecord component.
I
- id() - Method in record class net.thenextlvl.worlds.api.generator.Generator
-
Returns the value of the
idrecord component. - isCancelled() - Method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
- isCancelled() - Method in class net.thenextlvl.worlds.api.event.WorldDeleteEvent
- isCancelled() - Method in class net.thenextlvl.worlds.api.event.WorldRegenerateEvent
- isDeletionScheduled(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Checks whether a deletion process is scheduled for the specified world.
- isEmpty() - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Determines whether the link tree is empty, signifying that no worlds are associated with it.
- isEnabled() - Method in interface net.thenextlvl.worlds.api.level.Level
- isEnabled(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Determines if the specified world is enabled and will be loaded on startup.
- isFullClone() - Method in class net.thenextlvl.worlds.api.event.WorldCloneEvent
-
Indicates whether the entire world, including entities, data, regions, etc.
- isHardcore() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Determines whether the level is in hardcore mode.
- isLevel(Path) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Determines whether the specified directory represents a valid world folder.
- isRegenerationScheduled(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Checks whether a regeneration process is scheduled for the specified world.
- isSuccess() - Method in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Determines if the current deletion result represents a successful operation.
- isWorldKnown() - Method in interface net.thenextlvl.worlds.api.level.Level
K
- key() - Method in class net.thenextlvl.worlds.api.generator.BiomeSource.CheckerboardColumnBiomeSource
- key() - Method in class net.thenextlvl.worlds.api.generator.BiomeSource.FixedBiomeSource
- key() - Method in record class net.thenextlvl.worlds.api.generator.DimensionType
-
Returns the value of the
keyrecord component. - key() - Method in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Returns the value of the
keyrecord component. - key() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the key associated with the builder, if one has been set.
- key() - Method in record class net.thenextlvl.worlds.api.preset.Biome
-
Returns the value of the
keyrecord component. - key() - Method in record class net.thenextlvl.worlds.api.preset.Structure
-
Returns the value of the
keyrecord component. - key(Key) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the key associated with the builder.
L
- lakes() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Determines whether lakes are enabled for the preset.
- lakes(boolean) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Sets whether lakes should be included for the preset.
- LARGE_BIOMES - Static variable in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Represents the "large_biomes" generator type.
- Layer - Record Class in net.thenextlvl.worlds.api.preset
- Layer(String, int) - Constructor for record class net.thenextlvl.worlds.api.preset.Layer
- Layer(Key, int) - Constructor for record class net.thenextlvl.worlds.api.preset.Layer
-
Creates an instance of a
Layerrecord class. - Layer(BlockType, int) - Constructor for record class net.thenextlvl.worlds.api.preset.Layer
- Layer(Material, int) - Constructor for record class net.thenextlvl.worlds.api.preset.Layer
- layers() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Retrieves the set of layers associated with the preset.
- layers(Set<Layer>) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Sets the layers for the preset.
- Level - Interface in net.thenextlvl.worlds.api.level
- Level.Builder - Interface in net.thenextlvl.worlds.api.level
- levelBuilder(Path) - Method in interface net.thenextlvl.worlds.api.WorldsProvider
-
Creates a
Level.Builderinstance to configure and build a level from the specified directory. - levelBuilder(World) - Method in interface net.thenextlvl.worlds.api.WorldsProvider
-
Creates a
Level.Builderinstance as a copy of the specifiedWorld. - levelStem() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- levelStem(LevelStem) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- LevelStem - Record Class in net.thenextlvl.worlds.api.generator
- LevelStem(DimensionType) - Constructor for record class net.thenextlvl.worlds.api.generator.LevelStem
-
Creates an instance of a
LevelStemrecord class. - levelView() - Method in interface net.thenextlvl.worlds.api.WorldsProvider
-
Provides access to the
LevelViewfunctionality, which includes operations for managing Minecraft world levels, such as saving, unloading, and retrieving level data. - LevelView - Interface in net.thenextlvl.worlds.api.view
-
Interface representing a view for managing levels in a server environment.
- LevelView.DeletionResult - Enum Class in net.thenextlvl.worlds.api.view
-
Represents the possible outcomes of a world deletion process.
- link(World, World) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Establishes a link between the specified source and destination world.
- linkProvider() - Method in interface net.thenextlvl.worlds.api.WorldsProvider
-
Retrieves the
LinkProviderresponsible for managing and retrieving associations between worlds and their respectiveLinkTreestructures. - LinkProvider - Interface in net.thenextlvl.worlds.api.link
-
LinkProvider defines an interface for managing and retrieving associations between worlds and their respective
LinkTreestructures. - LinkTree - Interface in net.thenextlvl.worlds.api.link
-
A LinkTree is a mapping between one Overworld, one Nether, and one End.
- listLevels() - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Returns an unmodifiable set of paths representing the directories of all levels available in the server's
world container. - literal(String) - Static method in record class net.thenextlvl.worlds.api.preset.Biome
- literal(String) - Static method in record class net.thenextlvl.worlds.api.preset.Structure
N
- name() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the name associated with the builder.
- name() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Retrieves the name of the preset.
- name(String) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the name associated with the builder.
- net.thenextlvl.worlds.api - package net.thenextlvl.worlds.api
- net.thenextlvl.worlds.api.event - package net.thenextlvl.worlds.api.event
- net.thenextlvl.worlds.api.exception - package net.thenextlvl.worlds.api.exception
- net.thenextlvl.worlds.api.generator - package net.thenextlvl.worlds.api.generator
- net.thenextlvl.worlds.api.level - package net.thenextlvl.worlds.api.level
- net.thenextlvl.worlds.api.link - package net.thenextlvl.worlds.api.link
- net.thenextlvl.worlds.api.preset - package net.thenextlvl.worlds.api.preset
- net.thenextlvl.worlds.api.view - package net.thenextlvl.worlds.api.view
- NETHER - Static variable in record class net.thenextlvl.worlds.api.generator.LevelStem
- NORMAL - Static variable in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Represents the "noise" generator type.
O
- of(WorldsProvider, String) - Static method in record class net.thenextlvl.worlds.api.generator.Generator
- OVERWORLD - Static variable in record class net.thenextlvl.worlds.api.generator.DimensionType
- OVERWORLD - Static variable in record class net.thenextlvl.worlds.api.generator.LevelStem
- OVERWORLD - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- OVERWORLD_CAVES - Static variable in record class net.thenextlvl.worlds.api.generator.DimensionType
P
- parse(String) - Static method in class net.thenextlvl.worlds.api.preset.Preset
-
Parses a Superflat preset code and generates a corresponding
Presetobject. - plugin() - Method in record class net.thenextlvl.worlds.api.generator.Generator
-
Returns the value of the
pluginrecord component. - preset() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the preset configuration associated with the builder.
- preset(Preset) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the preset configuration for the builder.
- Preset - Class in net.thenextlvl.worlds.api.preset
-
Represents a preset configuration for generating flat world maps.
- Preset() - Constructor for class net.thenextlvl.worlds.api.preset.Preset
- Preset(String) - Constructor for class net.thenextlvl.worlds.api.preset.Preset
- presetName() - Method in record class net.thenextlvl.worlds.api.generator.GeneratorType
- presets() - Static method in class net.thenextlvl.worlds.api.preset.Presets
- Presets - Class in net.thenextlvl.worlds.api.preset
- Presets() - Constructor for class net.thenextlvl.worlds.api.preset.Presets
R
- read(Path) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Reads a level from the specified directory path.
- REDSTONE_READY - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- regenerate(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- REGENERATE - Enum constant in enum class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent.ActionType
-
This action is used to schedule the regeneration of a
World. - regenerateAsync(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Regenerates the specified world, either immediately or scheduled, based on the provided parameters.
- remove(Key) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Removes the specified key from the link tree if it exists.
- remove(World) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Removes the specified world from the link tree if it exists.
- REQUIRES_SCHEDULING - Enum constant in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Indicates that the deletion process requires scheduling due to certain constraints that prevent immediate execution, like the
minecraft:overworld
S
- save(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- saveAsync(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Saves the specified world, with an option to flush pending changes immediately.
- saveLevelData(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- saveLevelDataAsync(World) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Saves the
level.datof the specified world to disk. - SCHEDULED - Enum constant in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Indicates that the deletion process has been scheduled to occur during the server shutdown process.
- seed() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves the world seed used for generation, if available.
- seed(Long) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets the world seed.
- serialize() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Serialize this preset into a JSON object.
- setCancelled(boolean) - Method in class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
- setCancelled(boolean) - Method in class net.thenextlvl.worlds.api.event.WorldDeleteEvent
- setCancelled(boolean) - Method in class net.thenextlvl.worlds.api.event.WorldRegenerateEvent
- setEnabled(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Sets whether the specified world is enabled and will be loaded on startup.
- setEnd(World) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Sets the
Endworld for thisLinkTree. - setNether(World) - Method in interface net.thenextlvl.worlds.api.link.LinkTree
-
Sets the
Netherworld for thisLinkTree. - SINGLE_BIOME - Static variable in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Represents the "noise" generator type.
- SNOWY_KINGDOM - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- spawnChunkRadius() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.spawn chunks will be removed in the next release of minecraft
- spawnChunkRadius(Integer) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.spawn chunks will be removed in the next release of minecraft
- Structure - Record Class in net.thenextlvl.worlds.api.preset
- Structure(String) - Constructor for record class net.thenextlvl.worlds.api.preset.Structure
- Structure(Key) - Constructor for record class net.thenextlvl.worlds.api.preset.Structure
-
Creates an instance of a
Structurerecord class. - structures() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Retrieves whether structures should be generated in the world.
- structures() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Retrieves the set of structures associated with the preset.
- structures(Boolean) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
-
Sets whether structures should be generated in the world.
- structures(Set<Structure>) - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Sets the structures for the preset.
- SUCCESS - Enum constant in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Indicates that the deletion process was completed successfully.
T
- THE_END - Static variable in record class net.thenextlvl.worlds.api.generator.DimensionType
- THE_NETHER - Static variable in record class net.thenextlvl.worlds.api.generator.DimensionType
- THE_VOID - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- toBuilder() - Method in interface net.thenextlvl.worlds.api.level.Level
-
Converts the current Level instance into a Builder, allowing modifications to its configuration before creating or modifying a new Level instance.
- toPresetCode() - Method in class net.thenextlvl.worlds.api.preset.Preset
-
Converts the current
Presetobject into its corresponding preset code. - toString() - Method in record class net.thenextlvl.worlds.api.generator.DimensionType
-
Returns a string representation of this record class.
- toString() - Method in record class net.thenextlvl.worlds.api.generator.Generator
-
Returns a string representation of this record class.
- toString() - Method in record class net.thenextlvl.worlds.api.generator.GeneratorType
-
Returns a string representation of this record class.
- toString() - Method in record class net.thenextlvl.worlds.api.generator.LevelStem
-
Returns a string representation of this record class.
- toString() - Method in record class net.thenextlvl.worlds.api.preset.Biome
-
Returns a string representation of this record class.
- toString() - Method in record class net.thenextlvl.worlds.api.preset.Layer
-
Returns a string representation of this record class.
- toString() - Method in class net.thenextlvl.worlds.api.preset.Preset
- toString() - Method in record class net.thenextlvl.worlds.api.preset.Structure
-
Returns a string representation of this record class.
- TUNNELERS_DREAM - Static variable in class net.thenextlvl.worlds.api.preset.Presets
U
- unlink(Key, Key) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Removes the link between the specified source and target if it exists.
- unlink(World, World) - Method in interface net.thenextlvl.worlds.api.link.LinkProvider
-
Removes the link between the specified source and target worlds if it exists.
- unload(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Deprecated, for removal: This API element is subject to removal in a future version.
- UNLOAD_FAILED - Enum constant in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Indicates that the deletion process failed due to the inability to unload the world.
- unloadAsync(World, boolean) - Method in interface net.thenextlvl.worlds.api.view.LevelView
-
Unloads the specified world from the server.
V
- valueOf(String) - Static method in enum class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.thenextlvl.worlds.api.view.LevelView.DeletionResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WATER_WORLD - Static variable in class net.thenextlvl.worlds.api.preset.Presets
- WorldActionScheduledEvent - Class in net.thenextlvl.worlds.api.event
-
Represents an event triggered when an action is scheduled to be performed on a
World. - WorldActionScheduledEvent(World, WorldActionScheduledEvent.ActionType) - Constructor for class net.thenextlvl.worlds.api.event.WorldActionScheduledEvent
- WorldActionScheduledEvent.ActionType - Enum Class in net.thenextlvl.worlds.api.event
-
Represents the type of action scheduled to be performed on a
World. - WorldBackupEvent - Class in net.thenextlvl.worlds.api.event
-
Represents an event triggered when a
Worldis backed up. - WorldBackupEvent(World) - Constructor for class net.thenextlvl.worlds.api.event.WorldBackupEvent
- WorldCloneEvent - Class in net.thenextlvl.worlds.api.event
-
Represents an event triggered when a
Worldis cloned. - WorldCloneEvent(World, Level, boolean) - Constructor for class net.thenextlvl.worlds.api.event.WorldCloneEvent
- WorldDeleteEvent - Class in net.thenextlvl.worlds.api.event
-
Represents an event triggered when a
Worldis deleted. - WorldDeleteEvent(World) - Constructor for class net.thenextlvl.worlds.api.event.WorldDeleteEvent
- worldKnown() - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- worldKnown(Boolean) - Method in interface net.thenextlvl.worlds.api.level.Level.Builder
- WorldRegenerateEvent - Class in net.thenextlvl.worlds.api.event
-
Represents an event triggered when a
Worldis deleted and subsequently regenerated. - WorldRegenerateEvent(World) - Constructor for class net.thenextlvl.worlds.api.event.WorldRegenerateEvent
- WorldsProvider - Interface in net.thenextlvl.worlds.api
-
The WorldsProvider is the main API interface that enables interaction with world management functionalities such as chunk generation, level handling, and world grouping.
All Classes and Interfaces|All Packages|Serialized Form
LevelView.backupAsync(World)