net.minecraft.advancements.critereon

public class PickedUpItemTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

SimpleCriterionTrigger$SimpleInstance, CriterionTriggerInstance

co$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<ItemPredicate>
a
item
field_24493
item
f_221315_
private final Optional<ContextAwarePredicate>
b
entity
field_24494
entity
f_221316_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<PickedUpItemTrigger$TriggerInstance>
a(bc arg0, Optional<cb> arg1, Optional<bc> 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<bc> arg0, Optional<cb> arg1, Optional<bc> 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(akr arg0, cjf arg1, ecq 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 com.google.gson.JsonObject
a()
serializeToJson()
method_807()
toJson()
m_7683_()