trigger

public final Unit trigger(ServerPlayerEntity player, ServerWorld world, BlockPos pos)(source)

Triggers the criterion.

Parameters

player

The player triggering the criterion

world

The world where the player broke the block

pos

The position of the broken block