Class ThrownItemPickedUpByEntityCriterion

All Implemented Interfaces:
Criterion<ThrownItemPickedUpByEntityCriterion.Conditions>

public class ThrownItemPickedUpByEntityCriterion extends AbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
Mappings:
Namespace Name
official bx
intermediary net/minecraft/class_5279
named net/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lbx;a:Lyt;
      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()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Lyt;
      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 Lbx;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lbx$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, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbx;a(Ladx;Lbuw;Laxk;)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