net.minecraft.world.gen

public interface YOffset

net.minecraft.world.level.levelgen.VerticalAnchor
net.minecraft.class_5843
net.minecraft.world.gen.YOffset

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<YOffset>
CODEC
field_28915
OFFSET_CODEC
YOffset
BOTTOM
field_28916
BOTTOM
YOffset
TOP
field_28917
TOP

Method summary

Modifier and TypeMethod
static YOffset
absolute(int value)
method_33841(int arg0)
fixed(int offset)
static YOffset
aboveBottom(int offset)
method_33846(int arg0)
aboveBottom(int offset)
static YOffset
belowTop(int offset)
method_33849(int arg0)
belowTop(int offset)
static YOffset
bottom()
method_33840()
getBottom()
static YOffset
top()
method_33845()
getTop()
private static YOffset
merge(com.mojang.datafixers.util.Either<VerticalAnchor$Absolute, com.mojang.datafixers.util.Either<VerticalAnchor$AboveBottom, VerticalAnchor$BelowTop>> either)
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)
private static com.mojang.datafixers.util.Either<YOffset$Fixed, com.mojang.datafixers.util.Either<YOffset$AboveBottom, YOffset$BelowTop>>
split(VerticalAnchor anchor)
method_33842(class_5843 arg0)
map(YOffset yOffset)
int
resolveY(WorldGenerationContext heightAccessor)
method_33844(class_5868 arg0)
getY(HeightContext context)