程序包 org.bukkit
接口 Registry<T extends Keyed>
- 类型参数:
T
- type of item in the registry
- 所有超级接口:
Iterable<T>
- 所有已知实现类:
Registry.SimpleRegistry
Represents a registry of Bukkit objects that may be retrieved by
NamespacedKey
.-
嵌套类概要
-
字段概要
修饰符和类型字段说明static final Registry<Advancement>
Server advancements.Server art.Attribute.Server biomes.static final Registry<KeyedBossBar>
Custom boss bars.static final Registry<Enchantment>
Server enchantments.static final Registry<EntityType>
Server entity types.Server fluids.static final Registry<Frog.Variant>
Frog variants.Game events.static final Registry<LootTables>
Default server loot tables.Server materials.Memory Keys.Sound keys.Server statistics.Server structures.static final Registry<StructureType>
Server structure types.static final Registry<TrimMaterial>
Trim materials.static final Registry<TrimPattern>
Trim patterns.static final Registry<Villager.Profession>
Villager profession.static final Registry<Villager.Type>
Villager type. -
方法概要
从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
字段详细资料
-
ADVANCEMENT
Server advancements. -
ART
Server art.- 另请参阅:
-
ATTRIBUTE
Attribute.- 另请参阅:
-
BIOME
Server biomes.- 另请参阅:
-
BOSS_BARS
Custom boss bars. -
ENCHANTMENT
Server enchantments. -
ENTITY_TYPE
Server entity types.- 另请参阅:
-
LOOT_TABLES
Default server loot tables.- 另请参阅:
-
MATERIAL
Server materials.- 另请参阅:
-
STATISTIC
Server statistics.- 另请参阅:
-
STRUCTURE
Server structures.- 另请参阅:
-
STRUCTURE_TYPE
Server structure types.- 另请参阅:
-
SOUNDS
Sound keys.- 另请参阅:
-
TRIM_MATERIAL
Trim materials.- 另请参阅:
-
TRIM_PATTERN
Trim patterns.- 另请参阅:
-
VILLAGER_PROFESSION
Villager profession.- 另请参阅:
-
VILLAGER_TYPE
Villager type.- 另请参阅:
-
MEMORY_MODULE_TYPE
Memory Keys.- 另请参阅:
-
FLUID
Server fluids.- 另请参阅:
-
FROG_VARIANT
Frog variants.- 另请参阅:
-
GAME_EVENT
Game events.- 另请参阅:
-
-
方法详细资料
-
get
Get the object by its key.- 参数:
key
- non-null key- 返回:
- item or null if does not exist
-
match
Attempts to match the registered object with the given key.This will attempt to find a reasonable match based on the provided input and may do so through unspecified means.
- 参数:
input
- non-null input- 返回:
- registered object or null if does not exist
-