Class ThrownItemPickedUpByEntityCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ThrownItemPickedUpByEntityCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
ThrownItemPickedUpByEntityCriterion
public static class ThrownItemPickedUpByEntityCriterion.Conditions
extends AbstractCriterionConditions
- Mappings:
Namespace Name official co$a
intermediary net/minecraft/class_5279$class_5280
named net/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Optional<LootContextPredicate>
private final Optional<ItemPredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> optional, Optional<ItemPredicate> playerPredicate, Optional<LootContextPredicate> item) -
Method Summary
Modifier and TypeMethodDescriptioncreateThrownItemPickedUpByEntity
(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) createThrownItemPickedUpByPlayer
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) boolean
test
(ServerPlayerEntity player, ItemStack stack, LootContext entity) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Lco$a;a:Ljava/util/Optional;
intermediary field_24493
Lnet/minecraft/class_5279$class_5280;field_24493:Ljava/util/Optional;
named item
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;item:Ljava/util/Optional;
-
entity
- Mappings:
Namespace Name Mixin selector official b
Lco$a;b:Ljava/util/Optional;
intermediary field_24494
Lnet/minecraft/class_5279$class_5280;field_24494:Ljava/util/Optional;
named entity
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;entity:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> optional, Optional<ItemPredicate> playerPredicate, Optional<LootContextPredicate> item) - Mappings:
Namespace Name Mixin selector official <init>
Lco$a;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_5279$class_5280;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
createThrownItemPickedUpByEntity
public static AdvancementCriterion<ThrownItemPickedUpByEntityCriterion.Conditions> createThrownItemPickedUpByEntity(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) - Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lbc;Ljava/util/Optional;Ljava/util/Optional;)Lam;
intermediary method_27978
Lnet/minecraft/class_5279$class_5280;method_27978(Lnet/minecraft/class_5258;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_175;
named createThrownItemPickedUpByEntity
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;createThrownItemPickedUpByEntity(Lnet/minecraft/predicate/entity/LootContextPredicate;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/advancement/AdvancementCriterion;
-
createThrownItemPickedUpByPlayer
public static AdvancementCriterion<ThrownItemPickedUpByEntityCriterion.Conditions> createThrownItemPickedUpByPlayer(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) - Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lam;
intermediary method_43277
Lnet/minecraft/class_5279$class_5280;method_43277(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_175;
named createThrownItemPickedUpByPlayer
Lnet/minecraft/advancement/criterion/ThrownItemPickedUpByEntityCriterion$Conditions;createThrownItemPickedUpByPlayer(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/advancement/AdvancementCriterion;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lco$a;a(Lakr;Lcjf;Lecq;)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 com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-