类 Structure
java.lang.Object
org.bukkit.generator.structure.Structure
- 所有已实现的接口:
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
.-
字段概要
字段修饰符和类型字段说明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
static final Structure
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract @NotNull NamespacedKey
getKey()
已过时。abstract @NotNull StructureType
Returns the type of the structure.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
字段详细资料
-
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
-
-
构造器详细资料
-
Structure
public Structure()
-
-
方法详细资料
-
getStructureType
Returns the type of the structure.- 返回:
- the type of structure
-
getKey
已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
-
RegistryAware.getKeyOrThrow()
instead.