Conditions

public final class Conditions implements AbstractCriterion.Conditions(source)

Conditions of BreakBlockWithStaffCriterion.

Parameters

player

Predicate matching the player

location

Predicate matching the location of the broken block

Properties

Link copied to clipboard

Codec for Conditions.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean test(ServerWorld world, BlockPos pos)

Tests the given parameters against the datapack-specified conditions.

Inherited functions

Link copied to clipboard