Package com.sk89q.worldedit.world.block
Class BlockCategory
- All Implemented Interfaces:
Keyed
A category of blocks. This is due to the splitting up of
blocks such as wool into separate ids.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<B extends BlockStateHolder<B>>
booleancontains
(B blockStateHolder) Checks whether the BlockStateHolder is contained within this category.load()
Loads the contents of this category from the platform.Methods inherited from class com.sk89q.worldedit.registry.Category
contains, getAll, getId, invalidateCache, toString
-
Field Details
-
REGISTRY
-
-
Constructor Details
-
BlockCategory
-
-
Method Details
-
load
Description copied from class:Category
Loads the contents of this category from the platform. -
contains
Checks whether the BlockStateHolder is contained within this category.- Parameters:
blockStateHolder
- The blockstateholder- Returns:
- If it's a part of this category
-