Class PlayerPredicate.AdvancementCriteriaPredicate

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

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

    • criteria

      private final Object2BooleanMap<String> criteria
      Mappings:
      Namespace Name Mixin selector
      official a Lcg$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/PlayerPredicate$AdvancementCriteriaPredicate;criteria:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
  • Constructor Details

    • AdvancementCriteriaPredicate

      public AdvancementCriteriaPredicate​(Object2BooleanMap<String> criteria)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcg$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/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 Lcg$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/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 Lcg$a;a(Laa;)Z
      intermediary method_22504 Lnet/minecraft/class_4553$class_4554;method_22504(Lnet/minecraft/class_167;)Z
      named test Lnet/minecraft/predicate/PlayerPredicate$AdvancementCriteriaPredicate;test(Lnet/minecraft/advancement/AdvancementProgress;)Z