net.minecraft.advancements.critereon

public record LocationPredicate

dh
net.minecraft.advancements.critereon.LocationPredicate
net.minecraft.class_2090
net.minecraft.unmapped.C_ypvebgnl
net.minecraft.predicate.entity.LocationPredicate
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
f_pxtfacxf
position
position
f_290578_
private final Optional<HolderSet<Biome>>
c
biomes
comp_2375
f_egnkmrfy
biomes
biomes
f_314588_
private final Optional<HolderSet<Structure>>
d
structures
comp_2376
f_vvsinrfx
structures
structures
f_316568_
private final Optional<ResourceKey<Level>>
e
dimension
comp_1797
f_rxsimesc
dimension
dimension
f_52599_
private final Optional<Boolean>
f
smokey
comp_1798
f_hpxpdelt
smokey
smokey
f_52600_
private final Optional<LightPredicate>
g
light
comp_1799
f_bueuinho
light
light
f_52601_
private final Optional<BlockPredicate>
h
block
comp_1800
f_ewfovfvc
block
block
f_52602_
private final Optional<FluidPredicate>
i
fluid
comp_1801
f_wbnakoue
fluid
fluid
f_52603_
private final Optional<Boolean>
j
canSeeSky
comp_2771
f_gkvgifpb
canSeeSky
canSeeSky
f_336725_
public static final com.mojang.serialization.Codec<LocationPredicate>
a
CODEC
field_45760
f_vkqqtszc
CODEC
CODEC
f_291013_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(ash 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)
m_vmdyzmpu(C_bdwnwhiu arg0, double arg1, double arg2, double arg3)
test(ServerWorld world, double x, double y, double z)
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()
m_rrhhnxjf()
position()
position()
f_290578_()
public Optional<HolderSet<Biome>>
b()
biomes()
comp_2375()
m_yqakipta()
biomes()
biomes()
f_314588_()
public Optional<HolderSet<Structure>>
c()
structures()
comp_2376()
m_bztaksdx()
structures()
structures()
f_316568_()
public Optional<ResourceKey<Level>>
d()
dimension()
comp_1797()
m_njputhlw()
dimension()
dimension()
f_52599_()
public Optional<Boolean>
e()
smokey()
comp_1798()
m_znolrach()
smokey()
smokey()
f_52600_()
public Optional<LightPredicate>
f()
light()
comp_1799()
m_wghixldi()
light()
light()
f_52601_()
public Optional<BlockPredicate>
g()
block()
comp_1800()
m_hibvrsmj()
block()
block()
f_52602_()
public Optional<FluidPredicate>
h()
fluid()
comp_1801()
m_itereegz()
fluid()
fluid()
f_52603_()
public Optional<Boolean>
i()
canSeeSky()
comp_2771()
m_qrtpswnx()
canSeeSky()
canSeeSky()
f_336725_()