BlockStateExtensions Class
Extensions used by BlockState.
public static class BlockStateExtensionsMethods
| Name | Description |
|---|---|
| IsBreak(BlockState) | Determines whether this BlockState is in a break state. |
| IsContinue(BlockState) | Determines whether this BlockState is in a continue state. |
| IsDiscard(BlockState) | Determines whether this BlockState is discarded. |
IsBreak(BlockState)
BlockStateExtensions.csDetermines whether this BlockState is in a break state.
public static bool IsBreak(this BlockState blockState)Parameters
blockStateBlockState- State of the block.
Returns
bool true if the block state is in break state
IsContinue(BlockState)
BlockStateExtensions.csDetermines whether this BlockState is in a continue state.
public static bool IsContinue(this BlockState blockState)Parameters
blockStateBlockState- State of the block.
Returns
bool true if the block state is in continue state
IsDiscard(BlockState)
BlockStateExtensions.csDetermines whether this BlockState is discarded.
public static bool IsDiscard(this BlockState blockState)Parameters
blockStateBlockState- State of the block.
Returns
bool true if the block state is in discard state