net.minecraft.advancements.critereon

public record LocationPredicate

dh
net.minecraft.advancements.critereon.LocationPredicate
net.minecraft.class_2090
net.minecraft.predicate.entity.LocationPredicate
net.minecraft.advancements.critereon.CriterionConditionLocation

Field summary

Modifier and TypeField
private final Optional<LocationPredicate$PositionPredicate>
b
position
comp_1794
position
private final Optional<HolderSet<Biome>>
c
biomes
comp_2375
biomes
private final Optional<HolderSet<Structure>>
d
structures
comp_2376
structures
private final Optional<ResourceKey<Level>>
e
dimension
comp_1797
dimension
private final Optional<Boolean>
f
smokey
comp_1798
smokey
private final Optional<LightPredicate>
g
light
comp_1799
light
private final Optional<BlockPredicate>
h
block
comp_1800
block
private final Optional<FluidPredicate>
i
fluid
comp_1801
fluid
private final Optional<Boolean>
j
canSeeSky
comp_2771
canSeeSky
public static final com.mojang.serialization.Codec<LocationPredicate>
a
CODEC
field_45760
CODEC

Constructor summary

ModifierConstructor
public (Optional<LocationPredicate$PositionPredicate> arg0, Optional<HolderSet<Biome>> arg1, Optional<HolderSet<Structure>> arg2, Optional<ResourceKey<Level>> arg3, Optional<Boolean> arg4, Optional<LightPredicate> arg5, Optional<BlockPredicate> arg6, Optional<FluidPredicate> arg7, Optional<Boolean> arg8)

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)
test(ServerWorld world, double x, double y, double z)
public Optional<LocationPredicate$PositionPredicate>
a()
position()
comp_1794()
position()
public Optional<HolderSet<Biome>>
b()
biomes()
comp_2375()
biomes()
public Optional<HolderSet<Structure>>
c()
structures()
comp_2376()
structures()
public Optional<ResourceKey<Level>>
d()
dimension()
comp_1797()
dimension()
public Optional<Boolean>
e()
smokey()
comp_1798()
smokey()
public Optional<LightPredicate>
f()
light()
comp_1799()
light()
public Optional<BlockPredicate>
g()
block()
comp_1800()
block()
public Optional<FluidPredicate>
h()
fluid()
comp_1801()
fluid()
public Optional<Boolean>
i()
canSeeSky()
comp_2771()
canSeeSky()