Uses of Class
org.bukkit.generator.structure.Structure
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes to facilitate world
Structure
generation.Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of Structure in io.papermc.paper.event.world
Modifier and TypeMethodDescriptionStructuresLocateEvent.Result.structure()
Returns the value of thestructure
record component.Modifier and TypeMethodDescriptionStructuresLocateEvent.getStructures()
Gets an unmodifiable list of Structures that are valid targets for the search.Modifier and TypeMethodDescriptionvoid
StructuresLocateEvent.setStructures
(List<Structure> structures) Sets the list of Structures that are valid targets for the search.ModifierConstructorDescriptionCreates an instance of aResult
record class.ModifierConstructorDescriptionStructuresLocateEvent
(World world, Location origin, List<Structure> structures, int radius, boolean findUnexplored) -
Uses of Structure in io.papermc.paper.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Structure> RegistryKey.STRUCTURE
Data-driven registry for structures. -
Uses of Structure in io.papermc.paper.registry.keys
Modifier and TypeFieldDescriptionStructureKeys.ANCIENT_CITY
minecraft:ancient_city
StructureKeys.BASTION_REMNANT
minecraft:bastion_remnant
StructureKeys.BURIED_TREASURE
minecraft:buried_treasure
StructureKeys.DESERT_PYRAMID
minecraft:desert_pyramid
StructureKeys.END_CITY
minecraft:end_city
StructureKeys.FORTRESS
minecraft:fortress
StructureKeys.IGLOO
minecraft:igloo
StructureKeys.JUNGLE_PYRAMID
minecraft:jungle_pyramid
StructureKeys.MANSION
minecraft:mansion
StructureKeys.MINESHAFT
minecraft:mineshaft
StructureKeys.MINESHAFT_MESA
minecraft:mineshaft_mesa
StructureKeys.MONUMENT
minecraft:monument
StructureKeys.NETHER_FOSSIL
minecraft:nether_fossil
StructureKeys.OCEAN_RUIN_COLD
minecraft:ocean_ruin_cold
StructureKeys.OCEAN_RUIN_WARM
minecraft:ocean_ruin_warm
StructureKeys.PILLAGER_OUTPOST
minecraft:pillager_outpost
StructureKeys.RUINED_PORTAL
minecraft:ruined_portal
StructureKeys.RUINED_PORTAL_DESERT
minecraft:ruined_portal_desert
StructureKeys.RUINED_PORTAL_JUNGLE
minecraft:ruined_portal_jungle
StructureKeys.RUINED_PORTAL_MOUNTAIN
minecraft:ruined_portal_mountain
StructureKeys.RUINED_PORTAL_NETHER
minecraft:ruined_portal_nether
StructureKeys.RUINED_PORTAL_OCEAN
minecraft:ruined_portal_ocean
StructureKeys.RUINED_PORTAL_SWAMP
minecraft:ruined_portal_swamp
StructureKeys.SHIPWRECK
minecraft:shipwreck
StructureKeys.SHIPWRECK_BEACHED
minecraft:shipwreck_beached
StructureKeys.STRONGHOLD
minecraft:stronghold
StructureKeys.SWAMP_HUT
minecraft:swamp_hut
StructureKeys.TRAIL_RUINS
minecraft:trail_ruins
StructureKeys.TRIAL_CHAMBERS
minecraft:trial_chambers
StructureKeys.VILLAGE_DESERT
minecraft:village_desert
StructureKeys.VILLAGE_PLAINS
minecraft:village_plains
StructureKeys.VILLAGE_SAVANNA
minecraft:village_savanna
StructureKeys.VILLAGE_SNOWY
minecraft:village_snowy
StructureKeys.VILLAGE_TAIGA
minecraft:village_taiga
-
Uses of Structure in org.bukkit
Modifier and TypeMethodDescriptionChunk.getStructures
(@NotNull Structure structure) Gets all generated structures of a givenStructure
that intersect this chunk.World.getStructures
(int x, int z, @NotNull Structure structure) Gets all generated structures of a givenStructure
that intersect the chunk at the given coordinates.boolean
World.hasStructureAt
(@NotNull Position position, @NotNull Structure structure) Check if the naturally-generated structure exists at the position.World.locateNearestStructure
(@NotNull Location origin, @NotNull Structure structure, int radius, boolean findUnexplored) Find the closest nearby structure of a givenStructure
. -
Uses of Structure in org.bukkit.event.world
Modifier and TypeMethodDescriptionAsyncStructureGenerateEvent.getStructure()
Get the structure reference that is generated.AsyncStructureSpawnEvent.getStructure()
Get the structure reference that is generated.ModifierConstructorDescriptionAsyncStructureGenerateEvent
(@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) -
Uses of Structure in org.bukkit.generator.structure
Modifier and TypeFieldDescriptionstatic final Structure
Structure.ANCIENT_CITY
static final Structure
Structure.BASTION_REMNANT
static final Structure
Structure.BURIED_TREASURE
static final Structure
Structure.DESERT_PYRAMID
static final Structure
Structure.END_CITY
static final Structure
Structure.FORTRESS
static final Structure
Structure.IGLOO
static final Structure
Structure.JUNGLE_PYRAMID
static final Structure
Structure.MANSION
static final Structure
Structure.MINESHAFT
static final Structure
Structure.MINESHAFT_MESA
static final Structure
Structure.MONUMENT
static final Structure
Structure.NETHER_FOSSIL
static final Structure
Structure.OCEAN_RUIN_COLD
static final Structure
Structure.OCEAN_RUIN_WARM
static final Structure
Structure.PILLAGER_OUTPOST
static final Structure
Structure.RUINED_PORTAL
static final Structure
Structure.RUINED_PORTAL_DESERT
static final Structure
Structure.RUINED_PORTAL_JUNGLE
static final Structure
Structure.RUINED_PORTAL_MOUNTAIN
static final Structure
Structure.RUINED_PORTAL_NETHER
static final Structure
Structure.RUINED_PORTAL_OCEAN
static final Structure
Structure.RUINED_PORTAL_SWAMP
static final Structure
Structure.SHIPWRECK
static final Structure
Structure.SHIPWRECK_BEACHED
static final Structure
Structure.STRONGHOLD
static final Structure
Structure.SWAMP_HUT
static final Structure
Structure.TRAIL_RUINS
static final Structure
Structure.TRIAL_CHAMBERS
static final Structure
Structure.VILLAGE_DESERT
static final Structure
Structure.VILLAGE_PLAINS
static final Structure
Structure.VILLAGE_SAVANNA
static final Structure
Structure.VILLAGE_SNOWY
static final Structure
Structure.VILLAGE_TAIGA
Modifier and TypeMethodDescriptionGeneratedStructure.getStructure()
Gets the structure that this PlacedStructure represents. -
Uses of Structure in org.bukkit.util
Modifier and TypeMethodDescriptionStructureSearchResult.getStructure()
Return the structure which was found.
RegistryAccess.getRegistry(io.papermc.paper.registry.RegistryKey)
withRegistryKey.STRUCTURE