Break Block With Staff Criterion
public final class BreakBlockWithStaffCriterion extends AbstractCriterion<BreakBlockWithStaffCriterion.Conditions>(source)
A criterion, which triggers when a player breaks a block using a staff.
Types
Link copied to clipboard
Conditions of BreakBlockWithStaffCriterion.
Inherited functions
Link copied to clipboard
public final Unit beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<BreakBlockWithStaffCriterion.Conditions> conditions)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<BreakBlockWithStaffCriterion.Conditions> conditions)
Link copied to clipboard
protected Unit trigger(ServerPlayerEntity player, Predicate<BreakBlockWithStaffCriterion.Conditions> predicate)