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 cm$a
intermediary net/minecraft/class_5279$class_5280
named net/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Identifier id, LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) -
Method Summary
Modifier and TypeMethodDescriptioncreateThrownItemPickedUpByEntity
(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) createThrownItemPickedUpByPlayer
(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) boolean
test
(ServerPlayerEntity player, ItemStack stack, LootContext entityContext) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a:Lbz;
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
- Mappings:
Namespace Name Mixin selector official b
Lcm$a;b:Lba;
intermediary field_24494
Lnet/minecraft/class_5279$class_5280;field_24494:Lnet/minecraft/class_5258;
named entity
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;entity:Lnet/minecraft/predicate/entity/LootContextPredicate;
-
-
Constructor Details
-
Conditions
public Conditions(Identifier id, LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) - Mappings:
Namespace Name Mixin selector official <init>
Lcm$a;<init>(Lacq;Lba;Lbz;Lba;)V
intermediary <init>
Lnet/minecraft/class_5279$class_5280;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;)V
-
-
Method Details
-
createThrownItemPickedUpByEntity
public static ThrownItemPickedUpByEntityCriterion.Conditions createThrownItemPickedUpByEntity(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) - Mappings:
Namespace Name Mixin selector official a
Lcm$a;a(Lba;Lbz;Lba;)Lcm$a;
intermediary method_27978
Lnet/minecraft/class_5279$class_5280;method_27978(Lnet/minecraft/class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_5258;)Lnet/minecraft/class_5279$class_5280;
named createThrownItemPickedUpByEntity
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;createThrownItemPickedUpByEntity(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;)Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;
-
createThrownItemPickedUpByPlayer
public static ThrownItemPickedUpByEntityCriterion.Conditions createThrownItemPickedUpByPlayer(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) - Mappings:
Namespace Name Mixin selector official b
Lcm$a;b(Lba;Lbz;Lba;)Lcm$a;
intermediary method_43277
Lnet/minecraft/class_5279$class_5280;method_43277(Lnet/minecraft/class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_5258;)Lnet/minecraft/class_5279$class_5280;
named createThrownItemPickedUpByPlayer
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;createThrownItemPickedUpByPlayer(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;)Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lcm$a;a(Laig;Lcfx;Ldzh;)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
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lct;)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;
-