BlockPickupDataComponent

public final class BlockPickupDataComponent(source)

Data component to store the block about to be picked up by an empty staff.

Parameters

pos

The position of the block to be picked up from. Only available server-side

state

The block state to be picked up. Only available server-side

Constructors

Properties

Link copied to clipboard
private final BlockPos pos
Link copied to clipboard
private final BlockState state

Functions

Link copied to clipboard
public final BlockPos getPos()
Link copied to clipboard
public final BlockState getState()