Package net.minecraft.predicate.entity
Class LocationPredicate
java.lang.Object
net.minecraft.predicate.entity.LocationPredicate
public class LocationPredicate extends Object
- Mappings:
Namespace Name official bwintermediary net/minecraft/class_2090named net/minecraft/predicate/entity/LocationPredicate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocationPredicate.Builder -
Field Summary
Fields Modifier and Type Field Description static LocationPredicateANYprivate RegistryKey<Biome>biomeprivate BlockPredicateblockprivate RegistryKey<World>dimensionprivate StructureFeature<?>featureprivate FluidPredicatefluidprivate LightPredicatelightprivate static LoggerLOGGERprivate Booleansmokeyprivate NumberRange.FloatRangexprivate NumberRange.FloatRangeyprivate NumberRange.FloatRangez -
Constructor Summary
Constructors Constructor Description LocationPredicate(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, RegistryKey<Biome> biome, StructureFeature<?> feature, RegistryKey<World> dimension, Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) -
Method Summary
Modifier and Type Method Description static LocationPredicatebiome(RegistryKey<Biome> biome)static LocationPredicatedimension(RegistryKey<World> dimension)static LocationPredicatefeature(StructureFeature<?> feature)static LocationPredicatefromJson(JsonElement json)booleantest(ServerWorld world, double x, double y, double z)booleantest(ServerWorld world, float x, float y, float z)JsonElementtoJson()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLbw;b:Lorg/apache/logging/log4j/Logger;intermediary field_24732Lnet/minecraft/class_2090;field_24732:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/predicate/entity/LocationPredicate;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ANY
- Mappings:
Namespace Name Mixin selector official aLbw;a:Lbw;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 cLbw;c:Lbz$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 dLbw;d:Lbz$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 eLbw;e:Lbz$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 fLbw;f:Lwa;intermediary field_9683Lnet/minecraft/class_2090;field_9683:Lnet/minecraft/class_5321;named biomeLnet/minecraft/predicate/entity/LocationPredicate;biome:Lnet/minecraft/util/registry/RegistryKey;
-
feature
- Mappings:
Namespace Name Mixin selector official gLbw;g:Lcqj;intermediary field_9687Lnet/minecraft/class_2090;field_9687:Lnet/minecraft/class_3195;named featureLnet/minecraft/predicate/entity/LocationPredicate;feature:Lnet/minecraft/world/gen/feature/StructureFeature;
-
dimension
- Mappings:
Namespace Name Mixin selector official hLbw;h:Lwa;intermediary field_9686Lnet/minecraft/class_2090;field_9686:Lnet/minecraft/class_5321;named dimensionLnet/minecraft/predicate/entity/LocationPredicate;dimension:Lnet/minecraft/util/registry/RegistryKey;
-
smokey
- Mappings:
Namespace Name Mixin selector official iLbw;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 jLbw;j:Lbv;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 kLbw;k:Lan;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 lLbw;l:Lbl;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 RegistryKey<Biome> biome, @Nullable StructureFeature<?> feature, @Nullable RegistryKey<World> dimension, @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid)- Mappings:
Namespace Name Mixin selector official <init>Lbw;<init>(Lbz$c;Lbz$c;Lbz$c;Lwa;Lcqj;Lwa;Ljava/lang/Boolean;Lbv;Lan;Lbl;)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_3195;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/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 aLbw;a(Lwa;)Lbw;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/util/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
dimension
- Mappings:
Namespace Name Mixin selector official bLbw;b(Lwa;)Lbw;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/util/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
feature
- Mappings:
Namespace Name Mixin selector official aLbw;a(Lcqj;)Lbw;intermediary method_9017Lnet/minecraft/class_2090;method_9017(Lnet/minecraft/class_3195;)Lnet/minecraft/class_2090;named featureLnet/minecraft/predicate/entity/LocationPredicate;feature(Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/predicate/entity/LocationPredicate;
-
test
- Mappings:
Namespace Name Mixin selector official aLbw;a(Laav;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
-
test
- Mappings:
Namespace Name Mixin selector official aLbw;a(Laav;FFF)Zintermediary method_9020Lnet/minecraft/class_2090;method_9020(Lnet/minecraft/class_3218;FFF)Znamed testLnet/minecraft/predicate/entity/LocationPredicate;test(Lnet/minecraft/server/world/ServerWorld;FFF)Z
-
toJson
- Mappings:
Namespace Name Mixin selector official aLbw;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 aLbw;a(Lcom/google/gson/JsonElement;)Lbw;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;
-