net.minecraft.world.level.levelgen

public interface VerticalAnchor

dbl
net.minecraft.world.level.levelgen.VerticalAnchor
net.minecraft.class_5843
net.minecraft.world.gen.YOffset
net.minecraft.src.C_141347_
net.minecraft.world.level.levelgen.VerticalAnchor

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<VerticalAnchor>
a
CODEC
field_28915
OFFSET_CODEC
f_158914_
VerticalAnchor
b
BOTTOM
field_28916
BOTTOM
f_158915_
VerticalAnchor
c
TOP
field_28917
TOP
f_158916_

Method summary

Modifier and TypeMethod
static VerticalAnchor
a(int arg0)
absolute(int arg0)
method_33841(int arg0)
fixed(int offset)
m_158922_(int p_158923_)
static VerticalAnchor
b(int arg0)
aboveBottom(int arg0)
method_33846(int arg0)
aboveBottom(int offset)
m_158930_(int p_158931_)
static VerticalAnchor
c(int arg0)
belowTop(int arg0)
method_33849(int arg0)
belowTop(int offset)
m_158935_(int p_158936_)
static VerticalAnchor
a()
bottom()
method_33840()
getBottom()
m_158921_()
static VerticalAnchor
b()
top()
method_33845()
getTop()
m_158929_()
private static VerticalAnchor
a(com.mojang.datafixers.util.Either<dbl$b, com.mojang.datafixers.util.Either<dbl$a, dbl$c>> arg0)
merge(com.mojang.datafixers.util.Either<VerticalAnchor$Absolute, com.mojang.datafixers.util.Either<VerticalAnchor$AboveBottom, VerticalAnchor$BelowTop>> arg0)
method_33843(com.mojang.datafixers.util.Either<class_5843$class_5845, com.mojang.datafixers.util.Either<class_5843$class_5844, class_5843$class_5846>> arg0)
fromEither(com.mojang.datafixers.util.Either<YOffset$Fixed, com.mojang.datafixers.util.Either<YOffset$AboveBottom, YOffset$BelowTop>> either)
m_158924_(com.mojang.datafixers.util.Either<C_141349_, com.mojang.datafixers.util.Either<C_141348_, C_141350_>> p_158925_)
private static com.mojang.datafixers.util.Either<VerticalAnchor$Absolute, com.mojang.datafixers.util.Either<VerticalAnchor$AboveBottom, VerticalAnchor$BelowTop>>
a(dbl arg0)
split(VerticalAnchor arg0)
method_33842(class_5843 arg0)
map(YOffset yOffset)
m_158926_(C_141347_ p_158927_)
int
a(dbn arg0)
resolveY(WorldGenerationContext arg0)
method_33844(class_5868 arg0)
getY(HeightContext context)
m_142322_(C_141351_ arg0)