Class ThrownItemPickedUpByEntityCriterion

All Implemented Interfaces:
Criterion<ThrownItemPickedUpByEntityCriterion.Conditions>

public class ThrownItemPickedUpByEntityCriterion extends AbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
Mappings:
Namespace Name
official cl
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 Lcl;a:Ladd;
      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> Lcl;<init>(Ladd;)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 Lal;a()Ladd;
      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 Lcl;a(Lcom/google/gson/JsonObject;Lbn$b;Lbd;)Lcl$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 Lcl;a(Laiq;Lcfv;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