Class BundledRegistries
java.lang.Object
com.sk89q.worldedit.world.registry.BundledRegistries
- All Implemented Interfaces:
Registries
An implementation of
Registries
that converts legacy numeric IDs and
a contains a built-in block and item database.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the biome registry.Get the block category registry.Get the block registry.Get the entity registry.static BundledRegistries
Get a singleton instance.Get the item category registry.Get the item registry.
-
Constructor Details
-
BundledRegistries
protected BundledRegistries()Create a new instance.
-
-
Method Details
-
getBlockRegistry
Description copied from interface:Registries
Get the block registry.- Specified by:
getBlockRegistry
in interfaceRegistries
- Returns:
- the block registry
-
getItemRegistry
Description copied from interface:Registries
Get the item registry.- Specified by:
getItemRegistry
in interfaceRegistries
- Returns:
- the item registry
-
getEntityRegistry
Description copied from interface:Registries
Get the entity registry.- Specified by:
getEntityRegistry
in interfaceRegistries
- Returns:
- the entity registry
-
getBiomeRegistry
Description copied from interface:Registries
Get the biome registry.- Specified by:
getBiomeRegistry
in interfaceRegistries
- Returns:
- the biome registry
-
getBlockCategoryRegistry
Description copied from interface:Registries
Get the block category registry.- Specified by:
getBlockCategoryRegistry
in interfaceRegistries
- Returns:
- the block category registry
-
getItemCategoryRegistry
Description copied from interface:Registries
Get the item category registry.- Specified by:
getItemCategoryRegistry
in interfaceRegistries
- Returns:
- the item category registry
-
getInstance
Get a singleton instance.- Returns:
- an instance
-