Class ThrownItemPickedUpByEntityCriterion

All Implemented Interfaces:
Criterion<ThrownItemPickedUpByEntityCriterion.Conditions>

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

    • ThrownItemPickedUpByEntityCriterion

      public ThrownItemPickedUpByEntityCriterion()
  • Method Details

    • conditionsFromJson

      protected ThrownItemPickedUpByEntityCriterion.Conditions conditionsFromJson(JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ThrownItemPickedUpByEntityCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lco;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lco$a;
      intermediary method_27974 Lnet/minecraft/class_5279;method_27974(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_5279$class_5280;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;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 Lco;a(Lakr;Lcjf;Lbiq;)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