Package com.sk89q.worldedit.registry
Class Category<T extends Keyed>
java.lang.Object
com.sk89q.worldedit.registry.Category<T>
- All Implemented Interfaces:
RegistryItem
- Direct Known Subclasses:
BlockCategory
,FluidCategory
,ItemCategory
-
Field Details
-
id
-
-
Constructor Details
-
Category
-
-
Method Details
-
getId
-
getAll
-
setInternalId
public void setInternalId(int internalId) - Specified by:
setInternalId
in interfaceRegistryItem
-
getInternalId
public int getInternalId()- Specified by:
getInternalId
in interfaceRegistryItem
-
load
-
contains
Checks if this category containsobject
.- Parameters:
object
- the object- Returns:
true
if this category contains the object
-
invalidateCache
public void invalidateCache() -
toString
-