net.minecraft.advancements.critereon

public record ItemUsedOnLocationTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

cy$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(dkm arg0)
placedBlock(Block arg0)
method_51710(class_2248 arg0)
createPlacedBlock(Block block)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(ezy$a... arg0)
placedBlock(LootItemCondition$Builder... arg0)
method_51712(class_5341$class_210... arg0)
createPlacedBlock(LootCondition$Builder... locationConditions)
private static ItemUsedOnLocationTrigger$TriggerInstance
c(dh$a arg0, cu$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(dh$a arg0, cu$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(dh$a arg0, cu$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(ewp arg0)
matches(LootContext arg0)
method_51711(class_47 arg0)
test(LootContext location)
public void
a(bi 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()