Properties

Link copied to clipboard

The block at a position in a world.

Link copied to clipboard

The item stack to be placed as a block.

Link copied to clipboard

Whether block place effects should be played. Defaults to true.

Link copied to clipboard

The position of a block.

Link copied to clipboard

The custom block state.

Link copied to clipboard

The vanilla block data (block state).

Link copied to clipboard

The block type as id.

Link copied to clipboard

The custom block type.

Link copied to clipboard

The vanilla block type.

Link copied to clipboard

The world of a block.

Link copied to clipboard

Whether tile-entity limits should be bypassed when placing tile-entity blocks. Placed blocks will still be counted. Defaults to false.

Link copied to clipboard

The face of a block that was clicked.

Link copied to clipboard
open val HELD_HAND: ContextParamType<EquipmentSlot, BlockPlace>

The hand in which the item is held.

Link copied to clipboard

The item stack being held / used during the interaction. Defaults to an empty item stack.

Link copied to clipboard

The item type being held / used during the interaction as id. Implicitly defaults to minecraft:air

Link copied to clipboard

The Nova item type being held / used during the interaction.

Link copied to clipboard

The vanilla item type being held / used during the interaction.

Link copied to clipboard

The parameter types that must be present in a context with this intention.

Link copied to clipboard

The player that is either the direct source or responsible for the action.

Link copied to clipboard

The direction that the source of an action is facing.

Link copied to clipboard

The entity that is the source of an action.

Link copied to clipboard

The eye location of the source of an action.

Link copied to clipboard

The living entity that is the source of an action.

Link copied to clipboard

The location of the source of an action.

Link copied to clipboard

The player that is the source of an action.

Link copied to clipboard

The TileEntity that is the source of an action.

Link copied to clipboard

The UUID of the source of an action.

Link copied to clipboard

The world of the source of an action.

Link copied to clipboard

The tile-entity data of a nova tile-entity.

Link copied to clipboard

The nova tile-entity of a block.

Link copied to clipboard

The vanilla tile-entity of a block.

Functions

Link copied to clipboard
open override fun <V : Any> addAutofiller(paramType: ContextParamType<V, BlockPlace>, autofiller: Autofiller<V, BlockPlace>, at: Int = Int.MAX_VALUE)

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.

Link copied to clipboard
open override fun <V : Any> getAutofillers(paramType: ContextParamType<V, BlockPlace>): List<Autofiller<V, BlockPlace>>

Gets the autofillers for paramType in this intention in the order they should be queried.

Link copied to clipboard
open override fun require(paramType: RequiredContextParamType<*, BlockPlace>)

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.