Class PlayerInteractedWithEntityCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.PlayerInteractedWithEntityCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- PlayerInteractedWithEntityCriterion
public static class PlayerInteractedWithEntityCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official cf$a
intermediary net/minecraft/class_5409$class_5410
named net/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate.Extended
entity
private ItemPredicate
item
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, ItemPredicate item, EntityPredicate.Extended entity)
-
Method Summary
Modifier and Type Method Description static PlayerInteractedWithEntityCriterion.Conditions
create(EntityPredicate.Extended player, ItemPredicate.Builder itemBuilder, EntityPredicate.Extended entity)
boolean
test(ItemStack stack, LootContext context)
JsonObject
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
Lcf$a;a:Lbq;
intermediary field_25700
Lnet/minecraft/class_5409$class_5410;field_25700:Lnet/minecraft/class_2073;
named item
Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
-
entity
- Mappings:
Namespace Name Mixin selector official b
Lcf$a;b:Lbg$b;
intermediary field_25701
Lnet/minecraft/class_5409$class_5410;field_25701:Lnet/minecraft/class_2048$class_5258;
named entity
Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$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>
Lcf$a;<init>(Lbg$b;Lbq;Lbg$b;)V
intermediary <init>
Lnet/minecraft/class_5409$class_5410;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;Lnet/minecraft/class_2048$class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
-
-
Method Details
-
create
public static PlayerInteractedWithEntityCriterion.Conditions create(EntityPredicate.Extended player, ItemPredicate.Builder itemBuilder, EntityPredicate.Extended entity)- Mappings:
Namespace Name Mixin selector official a
Lcf$a;a(Lbg$b;Lbq$a;Lbg$b;)Lcf$a;
intermediary method_30099
Lnet/minecraft/class_5409$class_5410;method_30099(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073$class_2074;Lnet/minecraft/class_2048$class_5258;)Lnet/minecraft/class_5409$class_5410;
named create
Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate$Builder;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$Conditions;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lcf$a;a(Lbnv;Ldei;)Z
intermediary method_30100
Lnet/minecraft/class_5409$class_5410;method_30100(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Z
named test
Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion$Conditions;test(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
Lag;a(Lci;)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;
-