net.minecraft.advancements.critereon

public record LocationPredicate

df
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 final Optional<LocationPredicate$PositionPredicate>
b
position
comp_1794
position
f_290578_
private final Optional<HolderSet<Biome>>
c
biomes
comp_2375
biomes
f_314588_
private final Optional<HolderSet<Structure>>
d
structures
comp_2376
structures
f_316568_
private final Optional<ResourceKey<Level>>
e
dimension
comp_1797
dimension
f_52599_
private final Optional<Boolean>
f
smokey
comp_1798
smokey
f_52600_
private final Optional<LightPredicate>
g
light
comp_1799
light
f_52601_
private final Optional<BlockPredicate>
h
block
comp_1800
block
f_52602_
private final Optional<FluidPredicate>
i
fluid
comp_1801
fluid
f_52603_
private final Optional<Boolean>
j
canSeeSky
comp_2771
canSeeSky
f_336725_
public static final com.mojang.serialization.Codec<LocationPredicate>
a
CODEC
field_45760
CODEC
f_291013_

Constructor summary

ModifierConstructor
public (Optional<LocationPredicate$PositionPredicate> biomes, Optional<HolderSet<Biome>> structures, Optional<HolderSet<Structure>> dimension, Optional<ResourceKey<Level>> smokey, Optional<Boolean> light, Optional<LightPredicate> block, Optional<BlockPredicate> fluid, Optional<FluidPredicate> canSeeSky, Optional<Boolean> arg8)

Method summary

Modifier and TypeMethod
public boolean
a(aqu 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 Optional<LocationPredicate$PositionPredicate>
a()
position()
comp_1794()
position()
f_290578_()
public Optional<HolderSet<Biome>>
b()
biomes()
comp_2375()
biomes()
f_314588_()
public Optional<HolderSet<Structure>>
c()
structures()
comp_2376()
structures()
f_316568_()
public Optional<ResourceKey<Level>>
d()
dimension()
comp_1797()
dimension()
f_52599_()
public Optional<Boolean>
e()
smokey()
comp_1798()
smokey()
f_52600_()
public Optional<LightPredicate>
f()
light()
comp_1799()
light()
f_52601_()
public Optional<BlockPredicate>
g()
block()
comp_1800()
block()
f_52602_()
public Optional<FluidPredicate>
h()
fluid()
comp_1801()
fluid()
f_52603_()
public Optional<Boolean>
i()
canSeeSky()
comp_2771()
canSeeSky()
f_336725_()