net.minecraft.advancements.critereon

public record PickedUpItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

cn$a
net.minecraft.advancements.critereon.PickedUpItemTrigger$TriggerInstance
net.minecraft.class_5279$class_5280
net.minecraft.advancement.criterion.ThrownItemPickedUpByEntityCriterion$Conditions
net.minecraft.src.C_213093_$C_213094_
net.minecraft.advancements.critereon.PickedUpItemTrigger$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_302789_
private final Optional<ItemPredicate>
c
item
comp_2075
item
f_221315_
private final Optional<ContextAwarePredicate>
d
entity
comp_2076
entity
f_221316_
public static final com.mojang.serialization.Codec<PickedUpItemTrigger$TriggerInstance>
a
CODEC
field_47316
CODEC
f_302950_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item, Optional<ContextAwarePredicate> entity)

Method summary

Modifier and TypeMethod
public static Criterion<PickedUpItemTrigger$TriggerInstance>
a(bb arg0, Optional<ca> arg1, Optional<bb> arg2)
thrownItemPickedUpByEntity(ContextAwarePredicate arg0, Optional<ItemPredicate> arg1, Optional<ContextAwarePredicate> arg2)
method_27978(class_5258 arg0, Optional<class_2073> arg1, Optional<class_5258> arg2)
createThrownItemPickedUpByEntity(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity)
m_286072_(C_285556_ p_286865_, Optional<C_1529_> p_297283_, Optional<C_285556_> p_300033_)
public static Criterion<PickedUpItemTrigger$TriggerInstance>
a(Optional<bb> arg0, Optional<ca> arg1, Optional<bb> arg2)
thrownItemPickedUpByPlayer(Optional<ContextAwarePredicate> arg0, Optional<ItemPredicate> arg1, Optional<ContextAwarePredicate> arg2)
method_43277(Optional<class_5258> arg0, Optional<class_2073> arg1, Optional<class_5258> arg2)
createThrownItemPickedUpByPlayer(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity)
m_286101_(Optional<C_285556_> p_299013_, Optional<C_1529_> p_299788_, Optional<C_285556_> p_299814_)
public boolean
a(ane arg0, cmy arg1, egw arg2)
matches(ServerPlayer arg0, ItemStack arg1, LootContext arg2)
method_27979(class_3222 arg0, class_1799 arg1, class_47 arg2)
test(ServerPlayerEntity player, ItemStack stack, LootContext entity)
m_221322_(C_13_ p_221324_, C_1391_ p_221325_, C_2811_ arg2)
public void
a(bc 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<ItemPredicate>
b()
item()
comp_2075()
item()
f_221315_()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2076()
entity()
f_221316_()