Class ThrownItemPickedUpByEntityCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
net.minecraft.advancement.criterion.ThrownItemPickedUpByEntityCriterion
- All Implemented Interfaces:
Criterion<ThrownItemPickedUpByEntityCriterion.Conditions>
public class ThrownItemPickedUpByEntityCriterion
extends AbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
- Mappings:
Namespace Name official cm
intermediary net/minecraft/class_5279
named net/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) getId()
void
trigger
(ServerPlayerEntity player, ItemStack stack, @Nullable Entity entity) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lcm;a:Lacq;
intermediary field_24492
Lnet/minecraft/class_5279;field_24492:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ThrownItemPickedUpByEntityCriterion
- Mappings:
Namespace Name Mixin selector official <init>
Lcm;<init>(Lacq;)V
intermediary <init>
Lnet/minecraft/class_5279;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lal;a()Lacq;
intermediary method_794
Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
-
conditionsFromJson
protected ThrownItemPickedUpByEntityCriterion.Conditions conditionsFromJson(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lcm;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Lcm$a;
intermediary method_27974
Lnet/minecraft/class_5279;method_27974(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_5279$class_5280;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lcm;a(Laig;Lcfx;Lbfh;)V
intermediary method_27975
Lnet/minecraft/class_5279;method_27975(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;)V
named trigger
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)V
-