Package net.minecraft.world.gen
Interface YOffset
- All Known Implementing Classes:
- YOffset.AboveBottom,- YOffset.BelowTop,- YOffset.Fixed
public interface YOffset
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/YOffset- intermediary - net/minecraft/class_5843- official - edn
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic YOffsetaboveBottom(int offset) static YOffsetbelowTop(int offset) static YOffsetfixed(int offset) private static YOffsetfromEither(com.mojang.datafixers.util.Either<YOffset.Fixed, com.mojang.datafixers.util.Either<YOffset.AboveBottom, YOffset.BelowTop>> either) static YOffsetstatic YOffsetgetTop()intgetY(HeightContext context) private static com.mojang.datafixers.util.Either<YOffset.Fixed, com.mojang.datafixers.util.Either<YOffset.AboveBottom, YOffset.BelowTop>> 
- 
Field Details- 
OFFSET_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - OFFSET_CODEC- Lnet/minecraft/world/gen/YOffset;OFFSET_CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_28915- Lnet/minecraft/class_5843;field_28915:Lcom/mojang/serialization/Codec;- official - a- Ledn;a:Lcom/mojang/serialization/Codec;
 
- 
BOTTOM- Mappings:
- Namespace - Name - Mixin selector - named - BOTTOM- Lnet/minecraft/world/gen/YOffset;BOTTOM:Lnet/minecraft/world/gen/YOffset;- intermediary - field_28916- Lnet/minecraft/class_5843;field_28916:Lnet/minecraft/class_5843;- official - b- Ledn;b:Ledn;
 
- 
TOP- Mappings:
- Namespace - Name - Mixin selector - named - TOP- Lnet/minecraft/world/gen/YOffset;TOP:Lnet/minecraft/world/gen/YOffset;- intermediary - field_28917- Lnet/minecraft/class_5843;field_28917:Lnet/minecraft/class_5843;- official - c- Ledn;c:Ledn;
 
 
- 
- 
Method Details- 
fixed- Mappings:
- Namespace - Name - Mixin selector - named - fixed- Lnet/minecraft/world/gen/YOffset;fixed(I)Lnet/minecraft/world/gen/YOffset;- intermediary - method_33841- Lnet/minecraft/class_5843;method_33841(I)Lnet/minecraft/class_5843;- official - a- Ledn;a(I)Ledn;
 
- 
aboveBottom- Mappings:
- Namespace - Name - Mixin selector - named - aboveBottom- Lnet/minecraft/world/gen/YOffset;aboveBottom(I)Lnet/minecraft/world/gen/YOffset;- intermediary - method_33846- Lnet/minecraft/class_5843;method_33846(I)Lnet/minecraft/class_5843;- official - b- Ledn;b(I)Ledn;
 
- 
belowTop- Mappings:
- Namespace - Name - Mixin selector - named - belowTop- Lnet/minecraft/world/gen/YOffset;belowTop(I)Lnet/minecraft/world/gen/YOffset;- intermediary - method_33849- Lnet/minecraft/class_5843;method_33849(I)Lnet/minecraft/class_5843;- official - c- Ledn;c(I)Ledn;
 
- 
getBottom- Mappings:
- Namespace - Name - Mixin selector - named - getBottom- Lnet/minecraft/world/gen/YOffset;getBottom()Lnet/minecraft/world/gen/YOffset;- intermediary - method_33840- Lnet/minecraft/class_5843;method_33840()Lnet/minecraft/class_5843;- official - a- Ledn;a()Ledn;
 
- 
getTop- Mappings:
- Namespace - Name - Mixin selector - named - getTop- Lnet/minecraft/world/gen/YOffset;getTop()Lnet/minecraft/world/gen/YOffset;- intermediary - method_33845- Lnet/minecraft/class_5843;method_33845()Lnet/minecraft/class_5843;- official - b- Ledn;b()Ledn;
 
- 
fromEitherprivate static YOffset fromEither(com.mojang.datafixers.util.Either<YOffset.Fixed, com.mojang.datafixers.util.Either<YOffset.AboveBottom, YOffset.BelowTop>> either) - Mappings:
- Namespace - Name - Mixin selector - named - fromEither- Lnet/minecraft/world/gen/YOffset;fromEither(Lcom/mojang/datafixers/util/Either;)Lnet/minecraft/world/gen/YOffset;- intermediary - method_33843- Lnet/minecraft/class_5843;method_33843(Lcom/mojang/datafixers/util/Either;)Lnet/minecraft/class_5843;- official - a- Ledn;a(Lcom/mojang/datafixers/util/Either;)Ledn;
 
- 
mapprivate static com.mojang.datafixers.util.Either<YOffset.Fixed,com.mojang.datafixers.util.Either<YOffset.AboveBottom, mapYOffset.BelowTop>> (YOffset yOffset) - Mappings:
- Namespace - Name - Mixin selector - named - map- Lnet/minecraft/world/gen/YOffset;map(Lnet/minecraft/world/gen/YOffset;)Lcom/mojang/datafixers/util/Either;- intermediary - method_33842- Lnet/minecraft/class_5843;method_33842(Lnet/minecraft/class_5843;)Lcom/mojang/datafixers/util/Either;- official - a- Ledn;a(Ledn;)Lcom/mojang/datafixers/util/Either;
 
- 
getY- Mappings:
- Namespace - Name - Mixin selector - named - getY- Lnet/minecraft/world/gen/YOffset;getY(Lnet/minecraft/world/gen/HeightContext;)I- intermediary - method_33844- Lnet/minecraft/class_5843;method_33844(Lnet/minecraft/class_5868;)I- official - a- Ledn;a(Ledq;)I
 
 
-