Package org.bukkit.generator.structure
Class StructureType
java.lang.Object
org.bukkit.generator.structure.StructureType
- All Implemented Interfaces:
Keyed
,RegistryAware
Represent a StructureType of a
Structure
.
Listed structure types are present in the default server. Depending on the
server there might be additional structure types present (for example
structure types added by data packs), which can be received via
Registry.STRUCTURE_TYPE
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
static final StructureType
-
Constructor Summary
Constructors -
Method Summary
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
-
BURIED_TREASURE
-
DESERT_PYRAMID
-
END_CITY
-
FORTRESS
-
IGLOO
-
JIGSAW
-
JUNGLE_TEMPLE
-
MINESHAFT
-
NETHER_FOSSIL
-
OCEAN_MONUMENT
-
OCEAN_RUIN
-
RUINED_PORTAL
-
SHIPWRECK
-
STRONGHOLD
-
SWAMP_HUT
-
WOODLAND_MANSION
-
-
Constructor Details
-
StructureType
public StructureType()
-
-
Method Details
-
getKey
Deprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.Return the namespaced identifier for this object.
-
RegistryAware.getKeyOrThrow()
instead.