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 cg$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 Lcg$d;a:Lbz$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 GameMode gamemode
      Mappings:
      Namespace Name Mixin selector
      official b Lcg$d;b:Lbts;
      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 Lcg$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 Lcg$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 Lcg$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;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public PlayerPredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Lcg$d;b()Lcg;
      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;