Package org.bukkit.generator.structure
Class Structure
java.lang.Object
org.bukkit.generator.structure.Structure
Represent a Structure from the world.
Listed structures are present in the default server. Depending on the server
there might be additional structures present (for example structures added by
data packs), which can be received via
Registry.STRUCTURE
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
static final Structure
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull NamespacedKey
getKey()
Deprecated.abstract @NotNull StructureType
Returns the type of the structure.
-
Field Details
-
PILLAGER_OUTPOST
-
MINESHAFT
-
MINESHAFT_MESA
-
MANSION
-
JUNGLE_PYRAMID
-
DESERT_PYRAMID
-
IGLOO
-
SHIPWRECK
-
SHIPWRECK_BEACHED
-
SWAMP_HUT
-
STRONGHOLD
-
MONUMENT
-
OCEAN_RUIN_COLD
-
OCEAN_RUIN_WARM
-
FORTRESS
-
NETHER_FOSSIL
-
END_CITY
-
BURIED_TREASURE
-
BASTION_REMNANT
-
VILLAGE_PLAINS
-
VILLAGE_DESERT
-
VILLAGE_SAVANNA
-
VILLAGE_SNOWY
-
VILLAGE_TAIGA
-
RUINED_PORTAL
-
RUINED_PORTAL_DESERT
-
RUINED_PORTAL_JUNGLE
-
RUINED_PORTAL_SWAMP
-
RUINED_PORTAL_MOUNTAIN
-
RUINED_PORTAL_OCEAN
-
RUINED_PORTAL_NETHER
-
ANCIENT_CITY
-
TRAIL_RUINS
-
TRIAL_CHAMBERS
-
-
Constructor Details
-
Structure
public Structure()
-
-
Method Details
-
getStructureType
Returns the type of the structure.- Returns:
- the type of structure
-
getKey
Deprecated.useRegistry.getKey(Keyed)
,RegistryAccess.getRegistry(io.papermc.paper.registry.RegistryKey)
, andRegistryKey.STRUCTURE
. Structures can exist without a key.Description copied from interface:Keyed
Return the namespaced identifier for this object.
-
Registry.getKey(Keyed)
,RegistryAccess.getRegistry(io.papermc.paper.registry.RegistryKey)
, andRegistryKey.STRUCTURE
.