Package net.minecraft.predicate
Class PlayerPredicate.CompletedAdvancementPredicate
java.lang.Object
net.minecraft.predicate.PlayerPredicate.CompletedAdvancementPredicate
- All Implemented Interfaces:
Predicate<AdvancementProgress>
,PlayerPredicate.AdvancementPredicate
- Enclosing class:
- PlayerPredicate
static class PlayerPredicate.CompletedAdvancementPredicate extends Object implements PlayerPredicate.AdvancementPredicate
- Mappings:
Namespace Name official cg$b
intermediary net/minecraft/class_4553$class_4555
named net/minecraft/predicate/PlayerPredicate$CompletedAdvancementPredicate
-
Field Summary
Fields Modifier and Type Field Description private boolean
done
-
Constructor Summary
Constructors Constructor Description CompletedAdvancementPredicate(boolean done)
-
Method Summary
Modifier and Type Method Description boolean
test(AdvancementProgress advancementProgress)
JsonElement
toJson()
-
Field Details
-
done
private final boolean done- Mappings:
Namespace Name Mixin selector official a
Lcg$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>
Lcg$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
- Specified by:
toJson
in interfacePlayerPredicate.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
- Specified by:
test
in interfacePredicate<AdvancementProgress>
- Mappings:
Namespace Name Mixin selector official a
Lcg$b;a(Laa;)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
-