Data
Details about an interaction.
Parameters
player
The interacting player
world
The world the interaction happened in. Must be client world
hand
The player's interacting hand
extra
Extra properties to supply to the filters. Can be mutable
block Entity
The target block entity. Is null
, if entity is not null
entity
The target entity. Is null
, if blockEntity is not null
Constructors
Link copied to clipboard
public Interaction.Data Interaction.Data(PlayerEntity player, World world, Hand hand, HitResult hitResult, Object extra, BlockEntity blockEntity, Entity entity)