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
public interface Registry<T extends Keyed> extends Iterable<T>
Represents a registry of Bukkit objects that may be retrieved by
 
NamespacedKey.- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRegistry.SimpleRegistry<T extends Enum<T> & Keyed> - 
Field Summary
Fields Modifier and Type Field Description static Registry<Advancement>ADVANCEMENTServer advancements.static Registry<Art>ARTServer art.static Registry<Attribute>ATTRIBUTEAttribute.static Registry<Biome>BIOMEServer biomes.static Registry<KeyedBossBar>BOSS_BARSCustom boss bars.static Registry<Enchantment>ENCHANTMENTServer enchantments.static Registry<EntityType>ENTITY_TYPEServer entity types.static Registry<Fluid>FLUIDServer fluids.static Registry<LootTables>LOOT_TABLESDefault server loot tables.static Registry<Material>MATERIALServer materials.static Registry<MemoryKey>MEMORY_MODULE_TYPEMemory Keys.static Registry<Sound>SOUNDSSound keys.static Registry<Statistic>STATISTICServer statistics.static Registry<Villager.Profession>VILLAGER_PROFESSIONVillager profession.static Registry<Villager.Type>VILLAGER_TYPEVillager type. - 
Method Summary
Modifier and Type Method Description Tget(NamespacedKey key)Get the object by its key. 
- 
Field Details
- 
ADVANCEMENT
Server advancements. - 
ART
Server art.- See Also:
 Art
 - 
ATTRIBUTE
Attribute.- See Also:
 Attribute
 - 
BIOME
Server biomes.- See Also:
 Biome
 - 
BOSS_BARS
Custom boss bars. - 
ENCHANTMENT
Server enchantments. - 
ENTITY_TYPE
Server entity types.- See Also:
 EntityType
 - 
LOOT_TABLES
Default server loot tables.- See Also:
 LootTables
 - 
MATERIAL
Server materials.- See Also:
 Material
 - 
STATISTIC
Server statistics.- See Also:
 Statistic
 - 
SOUNDS
Sound keys.- See Also:
 Sound
 - 
VILLAGER_PROFESSION
Villager profession.- See Also:
 Villager.Profession
 - 
VILLAGER_TYPE
Villager type.- See Also:
 Villager.Type
 - 
MEMORY_MODULE_TYPE
Memory Keys.- See Also:
 MemoryKey
 - 
FLUID
Server fluids.- See Also:
 Fluid
 
 - 
 - 
Method Details
- 
get
Get the object by its key.- Parameters:
 key- non-null key- Returns:
 - item or null if does not exist
 
 
 -