Package org.bukkit.generator.structure
Class Structure
java.lang.Object
org.bukkit.generator.structure.Structure
- All Implemented Interfaces:
Keyed
,RegistryAware
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 NamespacedKey
getKey()
Deprecated.abstract StructureType
Returns the type of the structure.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
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.A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.Return the namespaced identifier for this object.
-
RegistryAware.getKeyOrThrow()
instead.