Package net.minecraft.predicate
Class PlayerPredicate
java.lang.Object
net.minecraft.predicate.PlayerPredicate
- Mappings:
Namespace Name official co
intermediary net/minecraft/class_4553
named net/minecraft/predicate/PlayerPredicate
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static interface
static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic PlayerPredicate
private NumberRange.IntRange
static int
private EntityPredicate
private Object2BooleanMap<Identifier>
private Map<Stat<?>,NumberRange.IntRange>
-
Constructor Summary
ConstructorDescriptionPlayerPredicate(NumberRange.IntRange experienceLevel, @Nullable GameMode gameMode, Map<Stat<?>,NumberRange.IntRange> stats, Object2BooleanMap<Identifier> recipes, Map<Identifier,PlayerPredicate.AdvancementPredicate> advancements, EntityPredicate entityPredicate)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static PlayerPredicate.AdvancementPredicate
criterionFromJson(JsonElement json)
static PlayerPredicate
fromJson(@Nullable JsonElement json)
private static <T> Stat<T>
getStat(StatType<T> type, Identifier id)
private static <T> Identifier
boolean
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lco;a:Lco;
intermediary field_20722
Lnet/minecraft/class_4553;field_20722:Lnet/minecraft/class_4553;
named ANY
Lnet/minecraft/predicate/PlayerPredicate;ANY:Lnet/minecraft/predicate/PlayerPredicate;
-
field_33928
public static final int field_33928- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Lco;b:I
intermediary field_33928
Lnet/minecraft/class_4553;field_33928:I
named field_33928
Lnet/minecraft/predicate/PlayerPredicate;field_33928:I
-
experienceLevel
- Mappings:
Namespace Name Mixin selector official c
Lco;c:Lch$d;
intermediary field_20723
Lnet/minecraft/class_4553;field_20723:Lnet/minecraft/class_2096$class_2100;
named experienceLevel
Lnet/minecraft/predicate/PlayerPredicate;experienceLevel:Lnet/minecraft/predicate/NumberRange$IntRange;
-
gameMode
- Mappings:
Namespace Name Mixin selector official d
Lco;d:Lbwm;
intermediary field_20724
Lnet/minecraft/class_4553;field_20724:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/predicate/PlayerPredicate;gameMode:Lnet/minecraft/world/GameMode;
-
stats
- Mappings:
Namespace Name Mixin selector official e
Lco;e:Ljava/util/Map;
intermediary field_20725
Lnet/minecraft/class_4553;field_20725:Ljava/util/Map;
named stats
Lnet/minecraft/predicate/PlayerPredicate;stats:Ljava/util/Map;
-
recipes
- Mappings:
Namespace Name Mixin selector official f
Lco;f:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
intermediary field_20726
Lnet/minecraft/class_4553;field_20726:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
named recipes
Lnet/minecraft/predicate/PlayerPredicate;recipes:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
-
advancements
- Mappings:
Namespace Name Mixin selector official g
Lco;g:Ljava/util/Map;
intermediary field_20727
Lnet/minecraft/class_4553;field_20727:Ljava/util/Map;
named advancements
Lnet/minecraft/predicate/PlayerPredicate;advancements:Ljava/util/Map;
-
field_33929
- Mappings:
Namespace Name Mixin selector official h
Lco;h:Lbm;
intermediary field_33929
Lnet/minecraft/class_4553;field_33929:Lnet/minecraft/class_2048;
named field_33929
Lnet/minecraft/predicate/PlayerPredicate;field_33929:Lnet/minecraft/predicate/entity/EntityPredicate;
-
-
Constructor Details
-
PlayerPredicate
PlayerPredicate(NumberRange.IntRange experienceLevel, @Nullable @Nullable GameMode gameMode, Map<Stat<?>,NumberRange.IntRange> stats, Object2BooleanMap<Identifier> recipes, Map<Identifier,PlayerPredicate.AdvancementPredicate> advancements, EntityPredicate entityPredicate)- Mappings:
Namespace Name Mixin selector official <init>
Lco;<init>(Lch$d;Lbwm;Ljava/util/Map;Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;Ljava/util/Map;Lbm;)V
intermediary <init>
Lnet/minecraft/class_4553;<init>(Lnet/minecraft/class_2096$class_2100;Lnet/minecraft/class_1934;Ljava/util/Map;Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;Ljava/util/Map;Lnet/minecraft/class_2048;)V
named <init>
Lnet/minecraft/predicate/PlayerPredicate;<init>(Lnet/minecraft/predicate/NumberRange$IntRange;Lnet/minecraft/world/GameMode;Ljava/util/Map;Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;Ljava/util/Map;Lnet/minecraft/predicate/entity/EntityPredicate;)V
-
-
Method Details
-
criterionFromJson
- Mappings:
Namespace Name Mixin selector official b
Lco;b(Lcom/google/gson/JsonElement;)Lco$c;
intermediary method_22503
Lnet/minecraft/class_4553;method_22503(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_4553$class_4556;
named criterionFromJson
Lnet/minecraft/predicate/PlayerPredicate;criterionFromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/PlayerPredicate$AdvancementPredicate;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lco;a(Latf;)Z
intermediary method_22497
Lnet/minecraft/class_4553;method_22497(Lnet/minecraft/class_1297;)Z
named test
Lnet/minecraft/predicate/PlayerPredicate;test(Lnet/minecraft/entity/Entity;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lco;a(Lcom/google/gson/JsonElement;)Lco;
intermediary method_22499
Lnet/minecraft/class_4553;method_22499(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_4553;
named fromJson
Lnet/minecraft/predicate/PlayerPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/PlayerPredicate;
-
getStat
- Mappings:
Namespace Name Mixin selector official a
Lco;a(Lafn;Lww;)Lafl;
intermediary method_22496
Lnet/minecraft/class_4553;method_22496(Lnet/minecraft/class_3448;Lnet/minecraft/class_2960;)Lnet/minecraft/class_3445;
named getStat
Lnet/minecraft/predicate/PlayerPredicate;getStat(Lnet/minecraft/stat/StatType;Lnet/minecraft/util/Identifier;)Lnet/minecraft/stat/Stat;
-
getStatId
- Mappings:
Namespace Name Mixin selector official a
Lco;a(Lafl;)Lww;
intermediary method_22495
Lnet/minecraft/class_4553;method_22495(Lnet/minecraft/class_3445;)Lnet/minecraft/class_2960;
named getStatId
Lnet/minecraft/predicate/PlayerPredicate;getStatId(Lnet/minecraft/stat/Stat;)Lnet/minecraft/util/Identifier;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lco;a()Lcom/google/gson/JsonElement;
intermediary method_22494
Lnet/minecraft/class_4553;method_22494()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/PlayerPredicate;toJson()Lcom/google/gson/JsonElement;
-