Interface VerticalAnchor
- All Known Implementing Classes:
VerticalAnchor.AboveBottom,VerticalAnchor.Absolute,VerticalAnchor.BelowTop
public interface VerticalAnchor
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VerticalAnchorstatic final com.mojang.serialization.Codec<VerticalAnchor> static final VerticalAnchor -
Method Summary
Modifier and TypeMethodDescriptionstatic VerticalAnchoraboveBottom(int p_158931_) static VerticalAnchorabsolute(int p_158923_) static VerticalAnchorbelowTop(int p_158936_) static VerticalAnchorbottom()private static VerticalAnchormerge(com.mojang.datafixers.util.Either<VerticalAnchor.Absolute, com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, VerticalAnchor.BelowTop>> p_158925_) intresolveY(WorldGenerationContext p_158928_) private static com.mojang.datafixers.util.Either<VerticalAnchor.Absolute, com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, VerticalAnchor.BelowTop>> split(VerticalAnchor p_158927_) static VerticalAnchortop()
-
Field Details
-
CODEC
-
BOTTOM
-
TOP
-
-
Method Details
-
absolute
-
aboveBottom
-
belowTop
-
bottom
-
top
-
merge
private static VerticalAnchor merge(com.mojang.datafixers.util.Either<VerticalAnchor.Absolute, com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, VerticalAnchor.BelowTop>> p_158925_) -
split
private static com.mojang.datafixers.util.Either<VerticalAnchor.Absolute,com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, splitVerticalAnchor.BelowTop>> (VerticalAnchor p_158927_) -
resolveY
-