Package com.sk89q.worldedit.registry
Class Category<T extends Keyed>
java.lang.Object
com.sk89q.worldedit.registry.Category<T>
- Direct Known Subclasses:
BiomeCategory
,BlockCategory
,FluidCategory
,ItemCategory
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
id
-
-
Constructor Details
-
Category
-
Category
-
-
Method Details
-
getId
-
getAll
-
load
Deprecated.The load system will be removed in a future WorldEdit release. The registries should be populated by the platforms via the supplier constructor.Loads the contents of this category from the platform.- Returns:
- The loaded contents of the category
-
contains
Checks if this category containsobject
.- Parameters:
object
- the object- Returns:
true
if this category contains the object
-
invalidateCache
public void invalidateCache() -
toString
-