- All Implemented Interfaces:
Keyed
A category of items. This is due to the splitting up of
items such as wool into separate ids.
-
Field Summary
Fields
Fields inherited from class com.sk89q.worldedit.registry.Category
id
-
Constructor Summary
Constructors
-
Method Summary
boolean
Checks whether the BaseItem is contained within
this category.
Methods inherited from interface com.sk89q.worldedit.registry.Keyed
getId
-
-
Constructor Details
-
ItemCategory
public ItemCategory(String id)
-
Method Details
-
-
contains
public boolean contains(BaseItem baseItem)
Checks whether the BaseItem is contained within
this category.
- Parameters:
baseItem
- The item
- Returns:
- If it's a part of this category