net.minecraft.advancements.critereon

public record DefaultBlockInteractionTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bn$a
net.minecraft.advancements.critereon.DefaultBlockInteractionTrigger$TriggerInstance
net.minecraft.class_9107$class_9108
net.minecraft.advancement.criterion.DefaultBlockUseCriterion$Conditions
net.minecraft.advancements.critereon.DefaultBlockInteractionTrigger$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<ContextAwarePredicate>
c
location
comp_2204
location
public static final com.mojang.serialization.Codec<DefaultBlockInteractionTrigger$TriggerInstance>
a
CODEC
field_48317
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> arg0, Optional<ContextAwarePredicate> arg1)

Method summary

Modifier and TypeMethod
public boolean
a(evs arg0)
matches(LootContext arg0)
method_56070(class_47 arg0)
test(LootContext location)
public void
a(bj arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ContextAwarePredicate>
b()
location()
comp_2204()
location()