Package net.minecraft.predicate.entity
Class PlayerPredicate.Builder
java.lang.Object
net.minecraft.predicate.entity.PlayerPredicate.Builder
- Enclosing class:
PlayerPredicate
- Mappings:
Namespace Name official cp$d
intermediary net/minecraft/class_4553$class_4557
named net/minecraft/predicate/entity/PlayerPredicate$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
PlayerPredicate.AdvancementPredicate> private NumberRange.IntRange
private EntityPredicate
private final Object2BooleanMap<Identifier>
private final Map<Stat<?>,
NumberRange.IntRange> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadvancement
(Identifier id, boolean done) advancement
(Identifier id, Map<String, Boolean> criteria) build()
static PlayerPredicate.Builder
create()
experienceLevel
(NumberRange.IntRange experienceLevel) lookingAt
(EntityPredicate lookingAt) recipe
(Identifier id, boolean unlocked) stat
(Stat<?> stat, NumberRange.IntRange value)
-
Field Details
-
experienceLevel
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a:Lci$d;
intermediary field_20730
Lnet/minecraft/class_4553$class_4557;field_20730:Lnet/minecraft/class_2096$class_2100;
named experienceLevel
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;experienceLevel:Lnet/minecraft/predicate/NumberRange$IntRange;
-
gameMode
- Mappings:
Namespace Name Mixin selector official b
Lcp$d;b:Lcmf;
intermediary field_20731
Lnet/minecraft/class_4553$class_4557;field_20731:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;gameMode:Lnet/minecraft/world/GameMode;
-
stats
- Mappings:
Namespace Name Mixin selector official c
Lcp$d;c:Ljava/util/Map;
intermediary field_20732
Lnet/minecraft/class_4553$class_4557;field_20732:Ljava/util/Map;
named stats
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;stats:Ljava/util/Map;
-
recipes
- Mappings:
Namespace Name Mixin selector official d
Lcp$d;d:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
intermediary field_20733
Lnet/minecraft/class_4553$class_4557;field_20733:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
named recipes
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;recipes:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
-
advancements
- Mappings:
Namespace Name Mixin selector official e
Lcp$d;e:Ljava/util/Map;
intermediary field_20734
Lnet/minecraft/class_4553$class_4557;field_20734:Ljava/util/Map;
named advancements
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;advancements:Ljava/util/Map;
-
lookingAt
- Mappings:
Namespace Name Mixin selector official f
Lcp$d;f:Lbn;
intermediary field_33930
Lnet/minecraft/class_4553$class_4557;field_33930:Lnet/minecraft/class_2048;
named lookingAt
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;lookingAt:Lnet/minecraft/predicate/entity/EntityPredicate;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a()Lcp$d;
intermediary method_35310
Lnet/minecraft/class_4553$class_4557;method_35310()Lnet/minecraft/class_4553$class_4557;
named create
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;create()Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
experienceLevel
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a(Lci$d;)Lcp$d;
intermediary method_35313
Lnet/minecraft/class_4553$class_4557;method_35313(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_4553$class_4557;
named experienceLevel
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;experienceLevel(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
stat
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a(Lamy;Lci$d;)Lcp$d;
intermediary method_35311
Lnet/minecraft/class_4553$class_4557;method_35311(Lnet/minecraft/class_3445;Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_4553$class_4557;
named stat
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;stat(Lnet/minecraft/stat/Stat;Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
recipe
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a(Ladd;Z)Lcp$d;
intermediary method_35315
Lnet/minecraft/class_4553$class_4557;method_35315(Lnet/minecraft/class_2960;Z)Lnet/minecraft/class_4553$class_4557;
named recipe
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;recipe(Lnet/minecraft/util/Identifier;Z)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
gameMode
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a(Lcmf;)Lcp$d;
intermediary method_35312
Lnet/minecraft/class_4553$class_4557;method_35312(Lnet/minecraft/class_1934;)Lnet/minecraft/class_4553$class_4557;
named gameMode
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;gameMode(Lnet/minecraft/world/GameMode;)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
lookingAt
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a(Lbn;)Lcp$d;
intermediary method_37251
Lnet/minecraft/class_4553$class_4557;method_37251(Lnet/minecraft/class_2048;)Lnet/minecraft/class_4553$class_4557;
named lookingAt
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;lookingAt(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
advancement
- Mappings:
Namespace Name Mixin selector official b
Lcp$d;b(Ladd;Z)Lcp$d;
intermediary method_35316
Lnet/minecraft/class_4553$class_4557;method_35316(Lnet/minecraft/class_2960;Z)Lnet/minecraft/class_4553$class_4557;
named advancement
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;advancement(Lnet/minecraft/util/Identifier;Z)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
advancement
- Mappings:
Namespace Name Mixin selector official a
Lcp$d;a(Ladd;Ljava/util/Map;)Lcp$d;
intermediary method_35314
Lnet/minecraft/class_4553$class_4557;method_35314(Lnet/minecraft/class_2960;Ljava/util/Map;)Lnet/minecraft/class_4553$class_4557;
named advancement
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;advancement(Lnet/minecraft/util/Identifier;Ljava/util/Map;)Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lcp$d;b()Lcp;
intermediary method_22507
Lnet/minecraft/class_4553$class_4557;method_22507()Lnet/minecraft/class_4553;
named build
Lnet/minecraft/predicate/entity/PlayerPredicate$Builder;build()Lnet/minecraft/predicate/entity/PlayerPredicate;
-