HasRequiredBlock
A ContextIntention that has required parameters about a block in a world.
Autofillers
| Target | # | Source(s) | Notes |
|---|---|---|---|
| BLOCK | 1. | BLOCK_POS | |
| BLOCK_POS | 1. | BLOCK | |
| BLOCK_WORLD | 1. | BLOCK_POS | |
| BLOCK_TYPE | 1. | BLOCK_TYPE_NOVA | |
| 2. | BLOCK_TYPE_VANILLA | ||
| BLOCK_TYPE_VANILLA | 1. | BLOCK_STATE_VANILLA | |
| 2. | BLOCK_TYPE | Only if vanilla block | |
| BLOCK_STATE_VANILLA | 1. | BLOCK_POS | Only if not Nova block |
| BLOCK_TYPE_NOVA | 1. | BLOCK_STATE_NOVA | |
| 2. | BLOCK_TYPE | Only if Nova block | |
| BLOCK_STATE_NOVA | 1. | BLOCK_POS | Only if Nova block |
Inheritors
Properties
The block at a position in a world.
The position of a block.
The custom block state.
The vanilla block data (block state).
The block type as id.
The custom block type.
The vanilla block type.
The world of a block.
The parameter types that must be present in a context with this intention.
Functions
Adds an autofiller for paramType to this intention, allowing contexts with this intention to autofill parameters of this type if they are not explicitly specified.
Gets the autofillers for paramType in this intention in the order they should be queried.
Adds paramType as a required context parameter type for this intention, forcing all contexts with this intention to have a parameter of this type, either through explicit specification or through autofilling.