Class KilledByCrossbowCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.KilledByCrossbowCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- KilledByCrossbowCriterion
- Mappings:
Namespace Name official by$a
intermediary net/minecraft/class_2076$class_2078
named net/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
private final EntityPredicate.Extended[]
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, EntityPredicate.Extended[] victims, NumberRange.IntRange uniqueEntityTypes) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityPredicate.Builder[] victimPredicates) create
(NumberRange.IntRange uniqueEntityTypes) boolean
matches
(Collection<LootContext> victimContexts, int uniqueEntityTypeCount) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
victims
- Mappings:
Namespace Name Mixin selector official a
Lby$a;a:[Lbm$b;
intermediary field_9660
Lnet/minecraft/class_2076$class_2078;field_9660:[Lnet/minecraft/class_2048$class_5258;
named victims
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;victims:[Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
uniqueEntityTypes
- Mappings:
Namespace Name Mixin selector official b
Lby$a;b:Lch$d;
intermediary field_9659
Lnet/minecraft/class_2076$class_2078;field_9659:Lnet/minecraft/class_2096$class_2100;
named uniqueEntityTypes
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;uniqueEntityTypes:Lnet/minecraft/predicate/NumberRange$IntRange;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended[] victims, NumberRange.IntRange uniqueEntityTypes) - Mappings:
Namespace Name Mixin selector official <init>
Lby$a;<init>(Lbm$b;[Lbm$b;Lch$d;)V
intermediary <init>
Lnet/minecraft/class_2076$class_2078;<init>(Lnet/minecraft/class_2048$class_5258;[Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2096$class_2100;)V
named <init>
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;[Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
create
public static KilledByCrossbowCriterion.Conditions create(EntityPredicate.Builder[] victimPredicates) - Mappings:
Namespace Name Mixin selector official a
Lby$a;a([Lbm$a;)Lby$a;
intermediary method_8986
Lnet/minecraft/class_2076$class_2078;method_8986([Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2076$class_2078;
named create
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;create([Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lby$a;a(Lch$d;)Lby$a;
intermediary method_8987
Lnet/minecraft/class_2076$class_2078;method_8987(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_2076$class_2078;
named create
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;create(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lby$a;a(Ljava/util/Collection;I)Z
intermediary method_8988
Lnet/minecraft/class_2076$class_2078;method_8988(Ljava/util/Collection;I)Z
named matches
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;matches(Ljava/util/Collection;I)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lcq;)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;
-