net.minecraft.advancements.critereon

public record ItemUsedOnLocationTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

cz$a
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger$TriggerInstance
net.minecraft.class_4711$class_4712
net.minecraft.advancement.criterion.ItemCriterion$Conditions
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger$a

Field summary

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

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ContextAwarePredicate> location)

Method summary

Modifier and TypeMethod
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(djn arg0)
placedBlock(Block arg0)
method_51710(class_2248 arg0)
createPlacedBlock(Block block)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(ezb$a... arg0)
placedBlock(LootItemCondition$Builder... arg0)
method_51712(class_5341$class_210... arg0)
createPlacedBlock(LootCondition$Builder... locationConditions)
private static ItemUsedOnLocationTrigger$TriggerInstance
c(di$a arg0, cv$a arg1)
itemUsedOnLocation(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_51709(class_2090$class_2091 arg0, class_2073$class_2074 arg1)
create(LocationPredicate$Builder location, ItemPredicate$Builder item)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(di$a arg0, cv$a arg1)
itemUsedOnBlock(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_27981(class_2090$class_2091 arg0, class_2073$class_2074 arg1)
createItemUsedOnBlock(LocationPredicate$Builder location, ItemPredicate$Builder item)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
b(di$a arg0, cv$a arg1)
allayDropItemOnBlock(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_43125(class_2090$class_2091 arg0, class_2073$class_2074 arg1)
createAllayDropItemOnBlock(LocationPredicate$Builder location, ItemPredicate$Builder item)
public boolean
a(evs arg0)
matches(LootContext arg0)
method_51711(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_2065()
location()