Class LocationPredicate

java.lang.Object
net.minecraft.predicate.entity.LocationPredicate

public class LocationPredicate extends Object
Mappings:
Namespace Name
official ch
intermediary net/minecraft/class_2090
named net/minecraft/predicate/entity/LocationPredicate
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lch;b:Lorg/slf4j/Logger;
      intermediary field_24732 Lnet/minecraft/class_2090;field_24732:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/predicate/entity/LocationPredicate;LOGGER:Lorg/slf4j/Logger;
    • ANY

      public static final LocationPredicate ANY
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a:Lch;
      intermediary field_9685 Lnet/minecraft/class_2090;field_9685:Lnet/minecraft/class_2090;
      named ANY Lnet/minecraft/predicate/entity/LocationPredicate;ANY:Lnet/minecraft/predicate/entity/LocationPredicate;
    • x

      private final NumberRange.FloatRange x
      Mappings:
      Namespace Name Mixin selector
      official c Lch;c:Lcj$c;
      intermediary field_9682 Lnet/minecraft/class_2090;field_9682:Lnet/minecraft/class_2096$class_2099;
      named x Lnet/minecraft/predicate/entity/LocationPredicate;x:Lnet/minecraft/predicate/NumberRange$FloatRange;
    • y

      private final NumberRange.FloatRange y
      Mappings:
      Namespace Name Mixin selector
      official d Lch;d:Lcj$c;
      intermediary field_9684 Lnet/minecraft/class_2090;field_9684:Lnet/minecraft/class_2096$class_2099;
      named y Lnet/minecraft/predicate/entity/LocationPredicate;y:Lnet/minecraft/predicate/NumberRange$FloatRange;
    • z

      private final NumberRange.FloatRange z
      Mappings:
      Namespace Name Mixin selector
      official e Lch;e:Lcj$c;
      intermediary field_9681 Lnet/minecraft/class_2090;field_9681:Lnet/minecraft/class_2096$class_2099;
      named z Lnet/minecraft/predicate/entity/LocationPredicate;z:Lnet/minecraft/predicate/NumberRange$FloatRange;
    • biome

      @Nullable private final @Nullable RegistryKey<Biome> biome
      Mappings:
      Namespace Name Mixin selector
      official f Lch;f:Lacp;
      intermediary field_9683 Lnet/minecraft/class_2090;field_9683:Lnet/minecraft/class_5321;
      named biome Lnet/minecraft/predicate/entity/LocationPredicate;biome:Lnet/minecraft/registry/RegistryKey;
    • feature

      @Nullable private final @Nullable RegistryKey<Structure> feature
      Mappings:
      Namespace Name Mixin selector
      official g Lch;g:Lacp;
      intermediary field_9687 Lnet/minecraft/class_2090;field_9687:Lnet/minecraft/class_5321;
      named feature Lnet/minecraft/predicate/entity/LocationPredicate;feature:Lnet/minecraft/registry/RegistryKey;
    • dimension

      @Nullable private final @Nullable RegistryKey<World> dimension
      Mappings:
      Namespace Name Mixin selector
      official h Lch;h:Lacp;
      intermediary field_9686 Lnet/minecraft/class_2090;field_9686:Lnet/minecraft/class_5321;
      named dimension Lnet/minecraft/predicate/entity/LocationPredicate;dimension:Lnet/minecraft/registry/RegistryKey;
    • smokey

      @Nullable private final @Nullable Boolean smokey
      Mappings:
      Namespace Name Mixin selector
      official i Lch;i:Ljava/lang/Boolean;
      intermediary field_24500 Lnet/minecraft/class_2090;field_24500:Ljava/lang/Boolean;
      named smokey Lnet/minecraft/predicate/entity/LocationPredicate;smokey:Ljava/lang/Boolean;
    • light

      private final LightPredicate light
      Mappings:
      Namespace Name Mixin selector
      official j Lch;j:Lce;
      intermediary field_20714 Lnet/minecraft/class_2090;field_20714:Lnet/minecraft/class_4552;
      named light Lnet/minecraft/predicate/entity/LocationPredicate;light:Lnet/minecraft/predicate/LightPredicate;
    • block

      private final BlockPredicate block
      Mappings:
      Namespace Name Mixin selector
      official k Lch;k:Lat;
      intermediary field_20715 Lnet/minecraft/class_2090;field_20715:Lnet/minecraft/class_4550;
      named block Lnet/minecraft/predicate/entity/LocationPredicate;block:Lnet/minecraft/predicate/BlockPredicate;
    • fluid

      private final FluidPredicate fluid
      Mappings:
      Namespace Name Mixin selector
      official l Lch;l:Lbv;
      intermediary field_20716 Lnet/minecraft/class_2090;field_20716:Lnet/minecraft/class_4551;
      named fluid Lnet/minecraft/predicate/entity/LocationPredicate;fluid:Lnet/minecraft/predicate/FluidPredicate;
  • Constructor Details

    • LocationPredicate

      Mappings:
      Namespace Name Mixin selector
      official <init> Lch;<init>(Lcj$c;Lcj$c;Lcj$c;Lacp;Lacp;Lacp;Ljava/lang/Boolean;Lce;Lat;Lbv;)V
      intermediary <init> Lnet/minecraft/class_2090;<init>(Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Ljava/lang/Boolean;Lnet/minecraft/class_4552;Lnet/minecraft/class_4550;Lnet/minecraft/class_4551;)V
      named <init> Lnet/minecraft/predicate/entity/LocationPredicate;<init>(Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;Ljava/lang/Boolean;Lnet/minecraft/predicate/LightPredicate;Lnet/minecraft/predicate/BlockPredicate;Lnet/minecraft/predicate/FluidPredicate;)V
  • Method Details

    • biome

      public static LocationPredicate biome(RegistryKey<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Lacp;)Lch;
      intermediary method_9022 Lnet/minecraft/class_2090;method_9022(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090;
      named biome Lnet/minecraft/predicate/entity/LocationPredicate;biome(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
    • dimension

      public static LocationPredicate dimension(RegistryKey<World> dimension)
      Mappings:
      Namespace Name Mixin selector
      official b Lch;b(Lacp;)Lch;
      intermediary method_9016 Lnet/minecraft/class_2090;method_9016(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090;
      named dimension Lnet/minecraft/predicate/entity/LocationPredicate;dimension(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
    • feature

      public static LocationPredicate feature(RegistryKey<Structure> feature)
      Mappings:
      Namespace Name Mixin selector
      official c Lch;c(Lacp;)Lch;
      intermediary method_9017 Lnet/minecraft/class_2090;method_9017(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090;
      named feature Lnet/minecraft/predicate/entity/LocationPredicate;feature(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
    • y

      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Lcj$c;)Lch;
      intermediary method_38858 Lnet/minecraft/class_2090;method_38858(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2090;
      named y Lnet/minecraft/predicate/entity/LocationPredicate;y(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/entity/LocationPredicate;
    • test

      public boolean test(ServerWorld world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Laif;DDD)Z
      intermediary method_9018 Lnet/minecraft/class_2090;method_9018(Lnet/minecraft/class_3218;DDD)Z
      named test Lnet/minecraft/predicate/entity/LocationPredicate;test(Lnet/minecraft/server/world/ServerWorld;DDD)Z
    • toJson

      public JsonElement toJson()
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a()Lcom/google/gson/JsonElement;
      intermediary method_9019 Lnet/minecraft/class_2090;method_9019()Lcom/google/gson/JsonElement;
      named toJson Lnet/minecraft/predicate/entity/LocationPredicate;toJson()Lcom/google/gson/JsonElement;
    • fromJson

      public static LocationPredicate fromJson(@Nullable @Nullable JsonElement json)
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Lcom/google/gson/JsonElement;)Lch;
      intermediary method_9021 Lnet/minecraft/class_2090;method_9021(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2090;
      named fromJson Lnet/minecraft/predicate/entity/LocationPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/LocationPredicate;