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

public static class KilledByCrossbowCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official cd$a
intermediary net/minecraft/class_2076$class_2078
named net/minecraft/advancement/criterion/KilledByCrossbowCriterion$Conditions
  • Field Details

    • victims

      private final List<LootContextPredicate> 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

      private final NumberRange.IntRange 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

      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

      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

      public boolean matches(Collection<LootContext> victimContexts, int uniqueEntityTypeCount)
      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

      public com.google.gson.JsonObject toJson()
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      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;