net.minecraft.advancements.critereon

public record PickedUpItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dp$a
net.minecraft.advancements.critereon.PickedUpItemTrigger$TriggerInstance
net.minecraft.class_5279$class_5280
net.minecraft.advancement.criterion.ThrownItemPickedUpByEntityCriterion$Conditions
net.minecraft.advancements.critereon.PickedUpItemTrigger$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<PickedUpItemTrigger$TriggerInstance>
a(bi arg0, Optional<cv> arg1, Optional<bi> 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)
public static Criterion<PickedUpItemTrigger$TriggerInstance>
a(Optional<bi> arg0, Optional<cv> arg1, Optional<bi> 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)
public boolean
a(are arg0, cwq arg1, evs 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)
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<ItemPredicate>
b()
item()
comp_2075()
item()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2076()
entity()