net.minecraft.world.level.levelgen

public abstract class VerticalAnchor

cqk
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
public static final com.mojang.serialization.Codec<VerticalAnchor>
a
CODEC
field_28915
OFFSET_CODEC
f_158914_
private static final VerticalAnchor
b
BOTTOM
field_28916
BOTTOM
f_158915_
private static final VerticalAnchor
c
TOP
field_28917
TOP
f_158916_
private final int
d
value
field_28918
offset
f_158917_

Constructor summary

ModifierConstructor
protected (int offset)

Method summary

Modifier and TypeMethod
public static VerticalAnchor
a(int arg0)
absolute(int arg0)
method_33841(int arg0)
fixed(int offset)
m_158922_(int p_158923_)
public static VerticalAnchor
b(int arg0)
aboveBottom(int arg0)
method_33846(int arg0)
aboveBottom(int offset)
m_158930_(int p_158931_)
public static VerticalAnchor
c(int arg0)
belowTop(int arg0)
method_33849(int arg0)
belowTop(int offset)
m_158935_(int p_158936_)
public static VerticalAnchor
a()
bottom()
method_33840()
getBottom()
m_158921_()
public static VerticalAnchor
b()
top()
method_33845()
getTop()
m_158929_()
private static VerticalAnchor
a(com.mojang.datafixers.util.Either<cqk$b, com.mojang.datafixers.util.Either<cqk$a, cqk$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_141347_$C_141349_, com.mojang.datafixers.util.Either<C_141347_$C_141348_, C_141347_$C_141350_>> p_158925_)
private static com.mojang.datafixers.util.Either<VerticalAnchor$Absolute, com.mojang.datafixers.util.Either<VerticalAnchor$AboveBottom, VerticalAnchor$BelowTop>>
a(cqk arg0)
split(VerticalAnchor arg0)
method_33842(class_5843 arg0)
map(YOffset yOffset)
m_158926_(C_141347_ p_158927_)
protected int
c()
value()
method_33848()
getOffset()
m_158934_()
public abstract int
a(cqm arg0)
resolveY(WorldGenerationContext arg0)
method_33844(class_5868 arg0)
getY(HeightContext context)
m_142322_(C_141351_ arg0)