Conditions

Conditions of BreakBlockWithStaffCriterion.

Parameters

player

Predicate matching the player

location

Predicate matching the location of the broken block

Constructors

Link copied to clipboard
constructor(player: Optional<LootContextPredicate>, location: Optional<LocationPredicate>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun player(): Optional<LootContextPredicate>
Link copied to clipboard
fun test(world: ServerWorld, pos: BlockPos): Boolean

Tests the given parameters against the datapack-specified conditions.

Inherited functions

Link copied to clipboard
open override fun validate(validator: LootContextPredicateValidator)