Class 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
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lcm;a:Laaj;
      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

      public ThrownItemPickedUpByEntityCriterion(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcm;<init>(Laaj;)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

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Laaj;
      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, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lcm;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lcm$a;
      intermediary method_27974 Lnet/minecraft/class_5279;method_27974(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$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/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, ItemStack stack, @Nullable @Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcm;a(Lafp;Lcaa;Lbaq;)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