Package net.minecraft.predicate.entity
Class LocationPredicate
java.lang.Object
net.minecraft.predicate.entity.LocationPredicate
- Mappings:
Namespace Name official cg
intermediary net/minecraft/class_2090
named net/minecraft/predicate/entity/LocationPredicate
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LocationPredicate
private final @Nullable RegistryKey<Biome>
private final BlockPredicate
private final @Nullable RegistryKey<World>
private final @Nullable StructureFeature<?>
private final FluidPredicate
private final LightPredicate
private static final Logger
private final NumberRange.FloatRange
private final NumberRange.FloatRange
private final NumberRange.FloatRange
-
Constructor Summary
ConstructorDescriptionLocationPredicate
(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable RegistryKey<Biome> biome, @Nullable StructureFeature<?> feature, @Nullable RegistryKey<World> dimension, @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationPredicate
biome
(RegistryKey<Biome> biome) static LocationPredicate
dimension
(RegistryKey<World> dimension) static LocationPredicate
feature
(StructureFeature<?> feature) static LocationPredicate
fromJson
(@Nullable JsonElement json) boolean
test
(ServerWorld world, double x, double y, double z) toJson()
static LocationPredicate
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Lcg;b:Lorg/apache/logging/log4j/Logger;
intermediary field_24732
Lnet/minecraft/class_2090;field_24732:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/predicate/entity/LocationPredicate;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lcg;a:Lcg;
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
- Mappings:
Namespace Name Mixin selector official c
Lcg;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
- Mappings:
Namespace Name Mixin selector official d
Lcg;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
- Mappings:
Namespace Name Mixin selector official e
Lcg;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
- Mappings:
Namespace Name Mixin selector official f
Lcg;f:Lya;
intermediary field_9683
Lnet/minecraft/class_2090;field_9683:Lnet/minecraft/class_5321;
named biome
Lnet/minecraft/predicate/entity/LocationPredicate;biome:Lnet/minecraft/util/registry/RegistryKey;
-
feature
- Mappings:
Namespace Name Mixin selector official g
Lcg;g:Lcxy;
intermediary field_9687
Lnet/minecraft/class_2090;field_9687:Lnet/minecraft/class_3195;
named feature
Lnet/minecraft/predicate/entity/LocationPredicate;feature:Lnet/minecraft/world/gen/feature/StructureFeature;
-
dimension
- Mappings:
Namespace Name Mixin selector official h
Lcg;h:Lya;
intermediary field_9686
Lnet/minecraft/class_2090;field_9686:Lnet/minecraft/class_5321;
named dimension
Lnet/minecraft/predicate/entity/LocationPredicate;dimension:Lnet/minecraft/util/registry/RegistryKey;
-
smokey
- Mappings:
Namespace Name Mixin selector official i
Lcg;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
- Mappings:
Namespace Name Mixin selector official j
Lcg;j:Lcd;
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
- Mappings:
Namespace Name Mixin selector official k
Lcg;k:Lau;
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
- Mappings:
Namespace Name Mixin selector official l
Lcg;l:Lbt;
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
public LocationPredicate(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable @Nullable RegistryKey<Biome> biome, @Nullable @Nullable StructureFeature<?> feature, @Nullable @Nullable RegistryKey<World> dimension, @Nullable @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) - Mappings:
Namespace Name Mixin selector official <init>
Lcg;<init>(Lcj$c;Lcj$c;Lcj$c;Lya;Lcxy;Lya;Ljava/lang/Boolean;Lcd;Lau;Lbt;)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_3195;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/util/registry/RegistryKey;Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/Boolean;Lnet/minecraft/predicate/LightPredicate;Lnet/minecraft/predicate/BlockPredicate;Lnet/minecraft/predicate/FluidPredicate;)V
-
-
Method Details
-
biome
- Mappings:
Namespace Name Mixin selector official a
Lcg;a(Lya;)Lcg;
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/util/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
dimension
- Mappings:
Namespace Name Mixin selector official b
Lcg;b(Lya;)Lcg;
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/util/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
feature
- Mappings:
Namespace Name Mixin selector official a
Lcg;a(Lcxy;)Lcg;
intermediary method_9017
Lnet/minecraft/class_2090;method_9017(Lnet/minecraft/class_3195;)Lnet/minecraft/class_2090;
named feature
Lnet/minecraft/predicate/entity/LocationPredicate;feature(Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
y
- Mappings:
Namespace Name Mixin selector official a
Lcg;a(Lcj$c;)Lcg;
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
- Mappings:
Namespace Name Mixin selector official a
Lcg;a(Ladc;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
- Mappings:
Namespace Name Mixin selector official a
Lcg;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
- Mappings:
Namespace Name Mixin selector official a
Lcg;a(Lcom/google/gson/JsonElement;)Lcg;
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;
-