Class PlayerPredicate.CompletedAdvancementPredicate

java.lang.Object
net.minecraft.predicate.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 co$b
intermediary net/minecraft/class_4553$class_4555
named net/minecraft/predicate/PlayerPredicate$CompletedAdvancementPredicate
  • Field Details

    • done

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

    • CompletedAdvancementPredicate

      public CompletedAdvancementPredicate(boolean done)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lco$b;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_4553$class_4555;<init>(Z)V
      named <init> Lnet/minecraft/predicate/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 Lco$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 Lco$b;a(Lag;)Z
      intermediary method_22505 Lnet/minecraft/class_4553$class_4555;method_22505(Lnet/minecraft/class_167;)Z
      named test Lnet/minecraft/predicate/PlayerPredicate$CompletedAdvancementPredicate;test(Lnet/minecraft/advancement/AdvancementProgress;)Z