Class ThrownItemPickedUpByEntityCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ThrownItemPickedUpByEntityCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
ThrownItemPickedUpByEntityCriterion

public static class ThrownItemPickedUpByEntityCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official bx$a
intermediary net/minecraft/class_5279$class_5280
named net/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions
  • Field Details

    • item

      private final ItemPredicate item
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a:Lby;
      intermediary field_24493 Lnet/minecraft/class_5279$class_5280;field_24493:Lnet/minecraft/class_2073;
      named item Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
    • entity

      private final EntityPredicate.Extended entity
      Mappings:
      Namespace Name Mixin selector
      official b Lbx$a;b:Lbo$b;
      intermediary field_24494 Lnet/minecraft/class_5279$class_5280;field_24494:Lnet/minecraft/class_2048$class_5258;
      named entity Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;entity:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended player, ItemPredicate item, EntityPredicate.Extended entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbx$a;<init>(Lbo$b;Lby;Lbo$b;)V
      intermediary <init> Lnet/minecraft/class_5279$class_5280;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_2048$class_5258;)V
      named <init> Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a(Lbo$b;Lby$a;Lbo$b;)Lbx$a;
      intermediary method_27978 Lnet/minecraft/class_5279$class_5280;method_27978(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073$class_2074;Lnet/minecraft/class_2048$class_5258;)Lnet/minecraft/class_5279$class_5280;
      named create Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate$Builder;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;
    • test

      public boolean test(ServerPlayerEntity player, ItemStack stack, LootContext entityContext)
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a(Ladx;Lbuw;Ldlc;)Z
      intermediary method_27979 Lnet/minecraft/class_5279$class_5280;method_27979(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Z
      named test Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;test(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a(Lcr;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;