类 StructureType
java.lang.Object
org.bukkit.generator.structure.StructureType
- 所有已实现的接口:
Keyed,RegistryAware
表示
Structure 的结构类型。
列出的结构类型存在于默认服务器中。根据服务器的不同,
可能会有额外的结构类型存在(例如由数据包添加的结构类型),
可以通过 Registry.STRUCTURE_TYPE 获取。-
字段概要
字段修饰符和类型字段说明static final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureTypestatic final StructureType -
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
字段详细资料
-
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
-
-
构造器详细资料
-
StructureType
public StructureType()
-
-
方法详细资料
-
getKey
已过时。键可能并不总是存在,请改用RegistryAware.getKeyOrThrow()。返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
原文:返回用于此对象的命名空间标识符.
原文:Return the namespaced identifier for this object.
-
RegistryAware.getKeyOrThrow()。