Package org.bukkit
Interface Registry<T extends Keyed>
- Type Parameters:
- T- type of item in the registry
- All Superinterfaces:
- Iterable<T>
- All Known Implementing Classes:
- Registry.SimpleRegistry
Represents a registry of Bukkit objects that may be retrieved by
 
NamespacedKey.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classRegistry.SimpleRegistry<T extends Enum<T> & Keyed>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic 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.Game events.static final Registry<LootTables>Default server loot tables.Server materials.Memory Keys.Sound keys.Server statistics.static final Registry<Villager.Profession>Villager profession.static final Registry<Villager.Type>Villager type.
- 
Method SummaryMethods inherited from interface java.lang.IterableforEach, iterator, spliterator
- 
Field Details- 
ADVANCEMENTServer advancements.
- 
ARTServer art.- See Also:
 
- 
ATTRIBUTEAttribute.- See Also:
 
- 
BIOMEServer biomes.- See Also:
 
- 
BOSS_BARSCustom boss bars.
- 
ENCHANTMENTServer enchantments.
- 
ENTITY_TYPEServer entity types.- See Also:
 
- 
LOOT_TABLESDefault server loot tables.- See Also:
 
- 
MATERIALServer materials.- See Also:
 
- 
STATISTICServer statistics.- See Also:
 
- 
SOUNDSSound keys.- See Also:
 
- 
VILLAGER_PROFESSIONVillager profession.- See Also:
 
- 
VILLAGER_TYPEVillager type.- See Also:
 
- 
MEMORY_MODULE_TYPEMemory Keys.- See Also:
 
- 
FLUIDServer fluids.- See Also:
 
- 
GAME_EVENTGame events.- See Also:
 
 
- 
- 
Method Details- 
getGet the object by its key.- Parameters:
- key- non-null key
- Returns:
- item or null if does not exist
 
 
-