DefaultContextParamTypes

Properties

Link copied to clipboard

Whether block break effects should be played. Defaults to true

Link copied to clipboard

Whether block drops should be dropped. Defaults to false.

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

Whether block storage drops should be dropped. Defaults to true

Link copied to clipboard
val BLOCK_TYPE: ContextParamType<ResourceLocation>

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

The hand that was used to interact.

Link copied to clipboard

The item stack used to interact with a something.

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 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 item stack used as a tool.