Class KilledByCrossbowCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.KilledByCrossbowCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
KilledByCrossbowCriterion
- Mappings:
Namespace Name official cd$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 List<LootContextPredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims, NumberRange.IntRange uniqueEntityTypes) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityPredicate.Builder[] victimPredicates) create
(NumberRange.IntRange uniqueEntityTypes) boolean
matches
(Collection<LootContext> victimContexts, int uniqueEntityTypeCount) toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
victims
- Mappings:
Namespace Name Mixin selector official a
Lcd$a;a:Ljava/util/List;
intermediary field_9660
Lnet/minecraft/class_2076$class_2078;field_9660:Ljava/util/List;
named victims
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;victims:Ljava/util/List;
-
uniqueEntityTypes
- Mappings:
Namespace Name Mixin selector official b
Lcd$a;b:Lcl$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(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims, NumberRange.IntRange uniqueEntityTypes) - Mappings:
Namespace Name Mixin selector official <init>
Lcd$a;<init>(Ljava/util/Optional;Ljava/util/List;Lcl$d;)V
intermediary <init>
Lnet/minecraft/class_2076$class_2078;<init>(Ljava/util/Optional;Ljava/util/List;Lnet/minecraft/class_2096$class_2100;)V
named <init>
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/List;Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
create
public static AdvancementCriterion<KilledByCrossbowCriterion.Conditions> create(EntityPredicate.Builder[] victimPredicates) - Mappings:
Namespace Name Mixin selector official a
Lcd$a;a([Lbq$a;)Lam;
intermediary method_8986
Lnet/minecraft/class_2076$class_2078;method_8986([Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;create([Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
create
public static AdvancementCriterion<KilledByCrossbowCriterion.Conditions> create(NumberRange.IntRange uniqueEntityTypes) - Mappings:
Namespace Name Mixin selector official a
Lcd$a;a(Lcl$d;)Lam;
intermediary method_8987
Lnet/minecraft/class_2076$class_2078;method_8987(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions;create(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lcd$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
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;
-