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()
static YOffset
relativeToSeaLevel(int offset)
method_1_7450(int arg0)
relativeToSeaLevel(int offset)
static YOffset
seaLevel()
method_1_7451()
seaLevel()
private static YOffset
merge(com.mojang.datafixers.util.Either<VerticalAnchor$Absolute, com.mojang.datafixers.util.Either<VerticalAnchor$AboveBottom, com.mojang.datafixers.util.Either<VerticalAnchor$BelowTop, VerticalAnchor$RelativeToSeaLevel>>> either)
method_33843(com.mojang.datafixers.util.Either<class_5843$class_5845, com.mojang.datafixers.util.Either<class_5843$class_5844, com.mojang.datafixers.util.Either<class_5843$class_5846, class_5843$class_1_1169>>> arg0)
fromEither(com.mojang.datafixers.util.Either<YOffset$Fixed, com.mojang.datafixers.util.Either<YOffset$AboveBottom, com.mojang.datafixers.util.Either<YOffset$BelowTop, YOffset$RelativeToSeaLevel>>> either)
private static com.mojang.datafixers.util.Either<YOffset$Fixed, com.mojang.datafixers.util.Either<YOffset$AboveBottom, com.mojang.datafixers.util.Either<YOffset$BelowTop, YOffset$RelativeToSeaLevel>>>
split(VerticalAnchor anchor)
method_33842(class_5843 arg0)
map(YOffset yOffset)
int
resolveY(WorldGenerationContext heightAccessor)
method_33844(class_5868 arg0)
getY(HeightContext context)
private static Record
lambda$merge$0(com.mojang.datafixers.util.Either arg0)
method_1_7449(com.mojang.datafixers.util.Either arg0)
method_1_7449(com.mojang.datafixers.util.Either inner)