Class KilledByCrossbowCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.KilledByCrossbowCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- KilledByCrossbowCriterion
public static class KilledByCrossbowCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official bs$a
intermediary net/minecraft/class_2076$class_2078
named net/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private NumberRange.IntRange
uniqueEntityTypes
private EntityPredicate.Extended[]
victims
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, EntityPredicate.Extended[] victims, NumberRange.IntRange uniqueEntityTypes)
-
Method Summary
Modifier and Type Method Description static KilledByCrossbowCriterion.Conditions
create(EntityPredicate.Builder[] victimPredicates)
static KilledByCrossbowCriterion.Conditions
create(NumberRange.IntRange uniqueEntityTypes)
boolean
matches(Collection<LootContext> victimContexts, int uniqueEntityTypeCount)
JsonObject
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
Lbs$a;a:[Lbg$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
Lbs$a;b:Lbz$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>
Lbs$a;<init>(Lbg$b;[Lbg$b;Lbz$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
Lbs$a;a([Lbg$a;)Lbs$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
Lbs$a;a(Lbz$d;)Lbs$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
Lbs$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
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;
-