public final class Blocks
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
containsFuzzy(java.util.Collection<? extends BlockStateHolder> collection,
BlockStateHolder o)
Checks whether a given block is in a list of base blocks.
|
static boolean |
shouldPlaceFinal(BlockType type)
Checks to see whether a block should be placed in the final queue.
|
static boolean |
shouldPlaceLast(BlockType type)
Checks to see whether a block should be placed last (when reordering
blocks that are placed).
|
public static boolean shouldPlaceLast(BlockType type)
type
- the block typepublic static boolean shouldPlaceFinal(BlockType type)
type
- the type of the blockpublic static boolean containsFuzzy(java.util.Collection<? extends BlockStateHolder> collection, BlockStateHolder o)
collection
- the collectiono
- the block