Class PlayerPredicate.CompletedAdvancementPredicate

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

private static class PlayerPredicate.CompletedAdvancementPredicate extends Object implements PlayerPredicate.AdvancementPredicate
Mappings:
Namespace Name
official cq$b
intermediary net/minecraft/class_4553$class_4555
named net/minecraft/predicate/entity/PlayerPredicate$CompletedAdvancementPredicate
  • Field Details

    • done

      private final boolean done
      Mappings:
      Namespace Name Mixin selector
      official a Lcq$b;a:Z
      intermediary field_20729 Lnet/minecraft/class_4553$class_4555;field_20729:Z
      named done Lnet/minecraft/predicate/entity/PlayerPredicate$CompletedAdvancementPredicate;done:Z
  • Constructor Details

    • CompletedAdvancementPredicate

      public CompletedAdvancementPredicate(boolean done)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcq$b;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_4553$class_4555;<init>(Z)V
      named <init> Lnet/minecraft/predicate/entity/PlayerPredicate$CompletedAdvancementPredicate;<init>(Z)V
  • Method Details

    • toJson

      public JsonElement toJson()
      Specified by:
      toJson in interface PlayerPredicate.AdvancementPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lcq$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 Lcq$b;a(Lah;)Z
      intermediary method_22505 Lnet/minecraft/class_4553$class_4555;method_22505(Lnet/minecraft/class_167;)Z
      named test Lnet/minecraft/predicate/entity/PlayerPredicate$CompletedAdvancementPredicate;test(Lnet/minecraft/advancement/AdvancementProgress;)Z