Class PlayerPredicate.AdvancementCriteriaPredicate

java.lang.Object
net.minecraft.predicate.entity.PlayerPredicate.AdvancementCriteriaPredicate
All Implemented Interfaces:
Predicate<AdvancementProgress>, PlayerPredicate.AdvancementPredicate
Enclosing class:
PlayerPredicate

private static class PlayerPredicate.AdvancementCriteriaPredicate extends Object implements PlayerPredicate.AdvancementPredicate
Mappings:
Namespace Name
official cp$a
intermediary net/minecraft/class_4553$class_4554
named net/minecraft/predicate/entity/PlayerPredicate$AdvancementCriteriaPredicate
  • Field Details

    • criteria

      private final Object2BooleanMap<String> criteria
      Mappings:
      Namespace Name Mixin selector
      official a Lcp$a;a:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      intermediary field_20728 Lnet/minecraft/class_4553$class_4554;field_20728:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      named criteria Lnet/minecraft/predicate/entity/PlayerPredicate$AdvancementCriteriaPredicate;criteria:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
  • Constructor Details

    • AdvancementCriteriaPredicate

      public AdvancementCriteriaPredicate(Object2BooleanMap<String> criteria)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcp$a;<init>(Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;)V
      intermediary <init> Lnet/minecraft/class_4553$class_4554;<init>(Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;)V
      named <init> Lnet/minecraft/predicate/entity/PlayerPredicate$AdvancementCriteriaPredicate;<init>(Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;)V
  • Method Details

    • toJson

      public JsonElement toJson()
      Specified by:
      toJson in interface PlayerPredicate.AdvancementPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lcp$c;a()Lcom/google/gson/JsonElement;
      intermediary method_22506 Lnet/minecraft/class_4553$class_4556;method_22506()Lcom/google/gson/JsonElement;
      named toJson Lnet/minecraft/predicate/entity/PlayerPredicate$AdvancementPredicate;toJson()Lcom/google/gson/JsonElement;
    • test

      public boolean test(AdvancementProgress advancementProgress)
      Specified by:
      test in interface Predicate<AdvancementProgress>
      Mappings:
      Namespace Name Mixin selector
      official a Lcp$a;a(Lag;)Z
      intermediary method_22504 Lnet/minecraft/class_4553$class_4554;method_22504(Lnet/minecraft/class_167;)Z
      named test Lnet/minecraft/predicate/entity/PlayerPredicate$AdvancementCriteriaPredicate;test(Lnet/minecraft/advancement/AdvancementProgress;)Z