Interface BlockSelector.Entry
- All Known Implementing Classes:
ConstantBlock,MultiBlockSelector.SelectionEntry
- Enclosing interface:
- BlockSelector
public static interface BlockSelector.Entry
Represents a single weighted
BlockState in a BlockSelector.- Author:
- DaPorkchop_
-
Method Summary
-
Method Details
-
state
org.cloudburstmc.api.block.BlockState state()- Returns:
- the
BlockStateused by this entry
-
weight
int weight()- Returns:
- this entry's random selection weight
-