net.minecraft.advancements.critereon

public class LocationPredicate

ch
net.minecraft.advancements.critereon.LocationPredicate
net.minecraft.class_2090
net.minecraft.predicate.entity.LocationPredicate
net.minecraft.src.C_1761_
net.minecraft.advancements.critereon.CriterionConditionLocation

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_24732
LOGGER
f_52593_
public static final LocationPredicate
a
ANY
field_9685
ANY
f_52592_
private final MinMaxBounds$Doubles
c
x
field_9682
x
f_52594_
private final MinMaxBounds$Doubles
d
y
field_9684
y
f_52595_
private final MinMaxBounds$Doubles
e
z
field_9681
z
f_52596_
private final ResourceKey<Biome>
f
biome
field_9683
biome
f_52597_
private final ResourceKey<Structure>
g
structure
field_9687
feature
f_220588_
private final ResourceKey<Level>
h
dimension
field_9686
dimension
f_52599_
private final Boolean
i
smokey
field_24500
smokey
f_52600_
private final LightPredicate
j
light
field_20714
light
f_52601_
private final BlockPredicate
k
block
field_20715
block
f_52602_
private final FluidPredicate
l
fluid
field_20716
fluid
f_52603_

Constructor summary

ModifierConstructor
public (MinMaxBounds$Doubles x, MinMaxBounds$Doubles y, MinMaxBounds$Doubles z, ResourceKey<Biome> biome, ResourceKey<Structure> feature, ResourceKey<Level> dimension, Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid)

Method summary

Modifier and TypeMethod
public static LocationPredicate
a(acp<cnk> arg0)
inBiome(ResourceKey<Biome> arg0)
method_9022(class_5321<class_1959> arg0)
biome(RegistryKey<Biome> biome)
m_52634_(C_5264_<C_1629_> p_52635_)
public static LocationPredicate
b(acp<cmm> arg0)
inDimension(ResourceKey<Level> arg0)
method_9016(class_5321<class_1937> arg0)
dimension(RegistryKey<World> dimension)
m_52638_(C_5264_<C_1596_> p_52639_)
public static LocationPredicate
c(acp<dsa> arg0)
inStructure(ResourceKey<Structure> arg0)
method_9017(class_5321<class_3195> arg0)
feature(RegistryKey<Structure> feature)
m_220589_(C_5264_<C_213164_> p_220590_)
public static LocationPredicate
a(cj$c arg0)
atYLocation(MinMaxBounds$Doubles arg0)
method_38858(class_2096$class_2099 arg0)
y(NumberRange$FloatRange y)
m_187442_(C_1863_$C_141231_ p_187443_)
public boolean
a(aif arg0, double arg1, double arg2, double arg3)
matches(ServerLevel arg0, double arg1, double arg2, double arg3)
method_9018(class_3218 arg0, double arg1, double arg2, double arg3)
test(ServerWorld world, double x, double y, double z)
m_52617_(C_12_ p_52619_, double p_52620_, double arg2, double arg3)
public com.google.gson.JsonElement
a()
serializeToJson()
method_9019()
toJson()
m_52616_()
public static LocationPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_9021(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_52629_(com.google.gson.JsonElement p_52630_)