Package net.minecraft.predicate.entity
Class LocationPredicate
java.lang.Object
net.minecraft.predicate.entity.LocationPredicate
- Mappings:
Namespace Name official chintermediary net/minecraft/class_2090named net/minecraft/predicate/entity/LocationPredicate
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LocationPredicateprivate final @Nullable RegistryKey<Biome>private final BlockPredicateprivate final @Nullable RegistryKey<World>private final @Nullable RegistryKey<Structure>private final FluidPredicateprivate final LightPredicateprivate static final Loggerprivate final NumberRange.FloatRangeprivate final NumberRange.FloatRangeprivate final NumberRange.FloatRange -
Constructor Summary
ConstructorsConstructorDescriptionLocationPredicate(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable RegistryKey<Biome> biome, @Nullable RegistryKey<Structure> feature, @Nullable RegistryKey<World> dimension, @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationPredicatebiome(RegistryKey<Biome> biome) static LocationPredicatedimension(RegistryKey<World> dimension) static LocationPredicatefeature(RegistryKey<Structure> feature) static LocationPredicatefromJson(@Nullable JsonElement json) booleantest(ServerWorld world, double x, double y, double z) toJson()static LocationPredicate
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLch;b:Lorg/slf4j/Logger;intermediary field_24732Lnet/minecraft/class_2090;field_24732:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/predicate/entity/LocationPredicate;LOGGER:Lorg/slf4j/Logger;
-
ANY
- Mappings:
Namespace Name Mixin selector official aLch;a:Lch;intermediary field_9685Lnet/minecraft/class_2090;field_9685:Lnet/minecraft/class_2090;named ANYLnet/minecraft/predicate/entity/LocationPredicate;ANY:Lnet/minecraft/predicate/entity/LocationPredicate;
-
x
- Mappings:
Namespace Name Mixin selector official cLch;c:Lcj$c;intermediary field_9682Lnet/minecraft/class_2090;field_9682:Lnet/minecraft/class_2096$class_2099;named xLnet/minecraft/predicate/entity/LocationPredicate;x:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
y
- Mappings:
Namespace Name Mixin selector official dLch;d:Lcj$c;intermediary field_9684Lnet/minecraft/class_2090;field_9684:Lnet/minecraft/class_2096$class_2099;named yLnet/minecraft/predicate/entity/LocationPredicate;y:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
z
- Mappings:
Namespace Name Mixin selector official eLch;e:Lcj$c;intermediary field_9681Lnet/minecraft/class_2090;field_9681:Lnet/minecraft/class_2096$class_2099;named zLnet/minecraft/predicate/entity/LocationPredicate;z:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
biome
- Mappings:
Namespace Name Mixin selector official fLch;f:Lacp;intermediary field_9683Lnet/minecraft/class_2090;field_9683:Lnet/minecraft/class_5321;named biomeLnet/minecraft/predicate/entity/LocationPredicate;biome:Lnet/minecraft/registry/RegistryKey;
-
feature
- Mappings:
Namespace Name Mixin selector official gLch;g:Lacp;intermediary field_9687Lnet/minecraft/class_2090;field_9687:Lnet/minecraft/class_5321;named featureLnet/minecraft/predicate/entity/LocationPredicate;feature:Lnet/minecraft/registry/RegistryKey;
-
dimension
- Mappings:
Namespace Name Mixin selector official hLch;h:Lacp;intermediary field_9686Lnet/minecraft/class_2090;field_9686:Lnet/minecraft/class_5321;named dimensionLnet/minecraft/predicate/entity/LocationPredicate;dimension:Lnet/minecraft/registry/RegistryKey;
-
smokey
- Mappings:
Namespace Name Mixin selector official iLch;i:Ljava/lang/Boolean;intermediary field_24500Lnet/minecraft/class_2090;field_24500:Ljava/lang/Boolean;named smokeyLnet/minecraft/predicate/entity/LocationPredicate;smokey:Ljava/lang/Boolean;
-
light
- Mappings:
Namespace Name Mixin selector official jLch;j:Lce;intermediary field_20714Lnet/minecraft/class_2090;field_20714:Lnet/minecraft/class_4552;named lightLnet/minecraft/predicate/entity/LocationPredicate;light:Lnet/minecraft/predicate/LightPredicate;
-
block
- Mappings:
Namespace Name Mixin selector official kLch;k:Lat;intermediary field_20715Lnet/minecraft/class_2090;field_20715:Lnet/minecraft/class_4550;named blockLnet/minecraft/predicate/entity/LocationPredicate;block:Lnet/minecraft/predicate/BlockPredicate;
-
fluid
- Mappings:
Namespace Name Mixin selector official lLch;l:Lbv;intermediary field_20716Lnet/minecraft/class_2090;field_20716:Lnet/minecraft/class_4551;named fluidLnet/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 RegistryKey<Structure> feature, @Nullable @Nullable RegistryKey<World> dimension, @Nullable @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) - Mappings:
Namespace Name Mixin selector official <init>Lch;<init>(Lcj$c;Lcj$c;Lcj$c;Lacp;Lacp;Lacp;Ljava/lang/Boolean;Lce;Lat;Lbv;)Vintermediary <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;)Vnamed <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
- Mappings:
Namespace Name Mixin selector official aLch;a(Lacp;)Lch;intermediary method_9022Lnet/minecraft/class_2090;method_9022(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090;named biomeLnet/minecraft/predicate/entity/LocationPredicate;biome(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
dimension
- Mappings:
Namespace Name Mixin selector official bLch;b(Lacp;)Lch;intermediary method_9016Lnet/minecraft/class_2090;method_9016(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090;named dimensionLnet/minecraft/predicate/entity/LocationPredicate;dimension(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
feature
- Mappings:
Namespace Name Mixin selector official cLch;c(Lacp;)Lch;intermediary method_9017Lnet/minecraft/class_2090;method_9017(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090;named featureLnet/minecraft/predicate/entity/LocationPredicate;feature(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
y
- Mappings:
Namespace Name Mixin selector official aLch;a(Lcj$c;)Lch;intermediary method_38858Lnet/minecraft/class_2090;method_38858(Lnet/minecraft/class_2096$class_2099;)Lnet/minecraft/class_2090;named yLnet/minecraft/predicate/entity/LocationPredicate;y(Lnet/minecraft/predicate/NumberRange$FloatRange;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
test
- Mappings:
Namespace Name Mixin selector official aLch;a(Laif;DDD)Zintermediary method_9018Lnet/minecraft/class_2090;method_9018(Lnet/minecraft/class_3218;DDD)Znamed testLnet/minecraft/predicate/entity/LocationPredicate;test(Lnet/minecraft/server/world/ServerWorld;DDD)Z
-
toJson
- Mappings:
Namespace Name Mixin selector official aLch;a()Lcom/google/gson/JsonElement;intermediary method_9019Lnet/minecraft/class_2090;method_9019()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/predicate/entity/LocationPredicate;toJson()Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLch;a(Lcom/google/gson/JsonElement;)Lch;intermediary method_9021Lnet/minecraft/class_2090;method_9021(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2090;named fromJsonLnet/minecraft/predicate/entity/LocationPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/LocationPredicate;
-