public final class Blocks
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <B extends BlockStateHolder<B>> |
containsFuzzy(java.util.Collection<? extends BlockStateHolder<?>> collection,
B o)
Checks whether a given block is in a list of base blocks.
|
public static <B extends BlockStateHolder<B>> boolean containsFuzzy(java.util.Collection<? extends BlockStateHolder<?>> collection, B o)
collection
- the collectiono
- the block