net.minecraft.advancements.critereon

public record ItemUsedOnLocationTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

cw$a
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger$TriggerInstance
net.minecraft.class_4711$class_4712
net.minecraft.advancement.criterion.ItemCriterion$Conditions
net.minecraft.src.C_285544_$C_285542_
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(dfy arg0)
placedBlock(Block arg0)
method_51710(class_2248 arg0)
createPlacedBlock(Block block)
m_286031_(C_1706_ p_286530_)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(evc$a... arg0)
placedBlock(LootItemCondition$Builder... arg0)
method_51712(class_5341$class_210... arg0)
createPlacedBlock(LootCondition$Builder... locationConditions)
m_285745_(C_3004_$C_3005_... p_286365_)
private static ItemUsedOnLocationTrigger$TriggerInstance
c(df$a arg0, cs$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)
m_285996_(C_1761_$C_1762_ p_286740_, C_1529_$C_1530_ p_286777_)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
a(df$a arg0, cs$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)
m_285945_(C_1761_$C_1762_ p_286808_, C_1529_$C_1530_ p_286486_)
public static Criterion<ItemUsedOnLocationTrigger$TriggerInstance>
b(df$a arg0, cs$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)
m_285770_(C_1761_$C_1762_ p_286325_, C_1529_$C_1530_ p_286531_)
public boolean
a(err arg0)
matches(LootContext arg0)
method_51711(class_47 arg0)
test(LootContext location)
m_285898_(C_2811_ arg0)
public void
a(bh arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ContextAwarePredicate>
b()
location()
comp_2065()
location()
f_285570_()