Class PlayerPredicate.Builder

java.lang.Object
net.minecraft.predicate.PlayerPredicate.Builder
Enclosing class:
PlayerPredicate

public static class PlayerPredicate.Builder extends Object
Mappings:
Namespace Name
official co$d
intermediary net/minecraft/class_4553$class_4557
named net/minecraft/predicate/PlayerPredicate$Builder
  • Field Details

    • experienceLevel

      private NumberRange.IntRange experienceLevel
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a:Lch$d;
      intermediary field_20730 Lnet/minecraft/class_4553$class_4557;field_20730:Lnet/minecraft/class_2096$class_2100;
      named experienceLevel Lnet/minecraft/predicate/PlayerPredicate$Builder;experienceLevel:Lnet/minecraft/predicate/NumberRange$IntRange;
    • gameMode

      @Nullable private @Nullable GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official b Lco$d;b:Lbwm;
      intermediary field_20731 Lnet/minecraft/class_4553$class_4557;field_20731:Lnet/minecraft/class_1934;
      named gameMode Lnet/minecraft/predicate/PlayerPredicate$Builder;gameMode:Lnet/minecraft/world/GameMode;
    • stats

      private final Map<Stat<?>,​NumberRange.IntRange> stats
      Mappings:
      Namespace Name Mixin selector
      official c Lco$d;c:Ljava/util/Map;
      intermediary field_20732 Lnet/minecraft/class_4553$class_4557;field_20732:Ljava/util/Map;
      named stats Lnet/minecraft/predicate/PlayerPredicate$Builder;stats:Ljava/util/Map;
    • recipes

      private final Object2BooleanMap<Identifier> recipes
      Mappings:
      Namespace Name Mixin selector
      official d Lco$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/PlayerPredicate$Builder;recipes:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
    • advancements

      private final Map<Identifier,​PlayerPredicate.AdvancementPredicate> advancements
      Mappings:
      Namespace Name Mixin selector
      official e Lco$d;e:Ljava/util/Map;
      intermediary field_20734 Lnet/minecraft/class_4553$class_4557;field_20734:Ljava/util/Map;
      named advancements Lnet/minecraft/predicate/PlayerPredicate$Builder;advancements:Ljava/util/Map;
    • field_33930

      private EntityPredicate field_33930
      Mappings:
      Namespace Name Mixin selector
      official f Lco$d;f:Lbm;
      intermediary field_33930 Lnet/minecraft/class_4553$class_4557;field_33930:Lnet/minecraft/class_2048;
      named field_33930 Lnet/minecraft/predicate/PlayerPredicate$Builder;field_33930:Lnet/minecraft/predicate/entity/EntityPredicate;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static PlayerPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a()Lco$d;
      intermediary method_35310 Lnet/minecraft/class_4553$class_4557;method_35310()Lnet/minecraft/class_4553$class_4557;
      named create Lnet/minecraft/predicate/PlayerPredicate$Builder;create()Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • experienceLevel

      public PlayerPredicate.Builder experienceLevel(NumberRange.IntRange experienceLevel)
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a(Lch$d;)Lco$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/PlayerPredicate$Builder;experienceLevel(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • stat

      public PlayerPredicate.Builder stat(Stat<?> stat, NumberRange.IntRange value)
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a(Lafl;Lch$d;)Lco$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/PlayerPredicate$Builder;stat(Lnet/minecraft/stat/Stat;Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • recipe

      public PlayerPredicate.Builder recipe(Identifier id, boolean unlocked)
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a(Lww;Z)Lco$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/PlayerPredicate$Builder;recipe(Lnet/minecraft/util/Identifier;Z)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • gameMode

      public PlayerPredicate.Builder gameMode(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a(Lbwm;)Lco$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/PlayerPredicate$Builder;gameMode(Lnet/minecraft/world/GameMode;)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • method_37251

      public PlayerPredicate.Builder method_37251(EntityPredicate entityPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a(Lbm;)Lco$d;
      intermediary method_37251 Lnet/minecraft/class_4553$class_4557;method_37251(Lnet/minecraft/class_2048;)Lnet/minecraft/class_4553$class_4557;
      named method_37251 Lnet/minecraft/predicate/PlayerPredicate$Builder;method_37251(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • advancement

      public PlayerPredicate.Builder advancement(Identifier id, boolean done)
      Mappings:
      Namespace Name Mixin selector
      official b Lco$d;b(Lww;Z)Lco$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/PlayerPredicate$Builder;advancement(Lnet/minecraft/util/Identifier;Z)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • advancement

      public PlayerPredicate.Builder advancement(Identifier id, Map<String,​Boolean> criteria)
      Mappings:
      Namespace Name Mixin selector
      official a Lco$d;a(Lww;Ljava/util/Map;)Lco$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/PlayerPredicate$Builder;advancement(Lnet/minecraft/util/Identifier;Ljava/util/Map;)Lnet/minecraft/predicate/PlayerPredicate$Builder;
    • build

      public PlayerPredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Lco$d;b()Lco;
      intermediary method_22507 Lnet/minecraft/class_4553$class_4557;method_22507()Lnet/minecraft/class_4553;
      named build Lnet/minecraft/predicate/PlayerPredicate$Builder;build()Lnet/minecraft/predicate/PlayerPredicate;