类 YOffset
- java.lang.Object
-
- net.minecraft.world.gen.YOffset
-
- 直接已知子类:
YOffset.AboveBottom,YOffset.BelowTop,YOffset.Fixed
public abstract class YOffset extends Object
- Mappings:
Namespace Name official cpeintermediary net/minecraft/class_5843named net/minecraft/world/gen/YOffset
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static classYOffset.AboveBottom(专用程序包) static classYOffset.BelowTop(专用程序包) static classYOffset.Fixed
-
构造器概要
构造器 限定符 构造器 说明 protectedYOffset(int offset)
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 static 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 YOffsetgetBottom()protected intgetOffset()static YOffsetgetTop()abstract intgetY(HeightContext context)private static com.mojang.datafixers.util.Either<YOffset.Fixed,com.mojang.datafixers.util.Either<YOffset.AboveBottom,YOffset.BelowTop>>map(YOffset yOffset)
-
-
-
字段详细资料
-
OFFSET_CODEC
public static final com.mojang.serialization.Codec<YOffset> OFFSET_CODEC
- Mappings:
Namespace Name Mixin selector official aLcpe;a:Lcom/mojang/serialization/Codec;intermediary field_28915Lnet/minecraft/class_5843;field_28915:Lcom/mojang/serialization/Codec;named OFFSET_CODECLnet/minecraft/world/gen/YOffset;OFFSET_CODEC:Lcom/mojang/serialization/Codec;
-
BOTTOM
private static final YOffset BOTTOM
- Mappings:
Namespace Name Mixin selector official bLcpe;b:Lcpe;intermediary field_28916Lnet/minecraft/class_5843;field_28916:Lnet/minecraft/class_5843;named BOTTOMLnet/minecraft/world/gen/YOffset;BOTTOM:Lnet/minecraft/world/gen/YOffset;
-
TOP
private static final YOffset TOP
- Mappings:
Namespace Name Mixin selector official cLcpe;c:Lcpe;intermediary field_28917Lnet/minecraft/class_5843;field_28917:Lnet/minecraft/class_5843;named TOPLnet/minecraft/world/gen/YOffset;TOP:Lnet/minecraft/world/gen/YOffset;
-
offset
private final int offset
- Mappings:
Namespace Name Mixin selector official dLcpe;d:Iintermediary field_28918Lnet/minecraft/class_5843;field_28918:Inamed offsetLnet/minecraft/world/gen/YOffset;offset:I
-
-
方法详细资料
-
fixed
public static YOffset fixed(int offset)
- Mappings:
Namespace Name Mixin selector official aLcpe;a(I)Lcpe;intermediary method_33841Lnet/minecraft/class_5843;method_33841(I)Lnet/minecraft/class_5843;named fixedLnet/minecraft/world/gen/YOffset;fixed(I)Lnet/minecraft/world/gen/YOffset;
-
aboveBottom
public static YOffset aboveBottom(int offset)
- Mappings:
Namespace Name Mixin selector official bLcpe;b(I)Lcpe;intermediary method_33846Lnet/minecraft/class_5843;method_33846(I)Lnet/minecraft/class_5843;named aboveBottomLnet/minecraft/world/gen/YOffset;aboveBottom(I)Lnet/minecraft/world/gen/YOffset;
-
belowTop
public static YOffset belowTop(int offset)
- Mappings:
Namespace Name Mixin selector official cLcpe;c(I)Lcpe;intermediary method_33849Lnet/minecraft/class_5843;method_33849(I)Lnet/minecraft/class_5843;named belowTopLnet/minecraft/world/gen/YOffset;belowTop(I)Lnet/minecraft/world/gen/YOffset;
-
getBottom
public static YOffset getBottom()
- Mappings:
Namespace Name Mixin selector official aLcpe;a()Lcpe;intermediary method_33840Lnet/minecraft/class_5843;method_33840()Lnet/minecraft/class_5843;named getBottomLnet/minecraft/world/gen/YOffset;getBottom()Lnet/minecraft/world/gen/YOffset;
-
getTop
public static YOffset getTop()
- Mappings:
Namespace Name Mixin selector official bLcpe;b()Lcpe;intermediary method_33845Lnet/minecraft/class_5843;method_33845()Lnet/minecraft/class_5843;named getTopLnet/minecraft/world/gen/YOffset;getTop()Lnet/minecraft/world/gen/YOffset;
-
fromEither
private 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 official aLcpe;a(Lcom/mojang/datafixers/util/Either;)Lcpe;intermediary method_33843Lnet/minecraft/class_5843;method_33843(Lcom/mojang/datafixers/util/Either;)Lnet/minecraft/class_5843;named fromEitherLnet/minecraft/world/gen/YOffset;fromEither(Lcom/mojang/datafixers/util/Either;)Lnet/minecraft/world/gen/YOffset;
-
map
private static com.mojang.datafixers.util.Either<YOffset.Fixed,com.mojang.datafixers.util.Either<YOffset.AboveBottom,YOffset.BelowTop>> map(YOffset yOffset)
- Mappings:
Namespace Name Mixin selector official aLcpe;a(Lcpe;)Lcom/mojang/datafixers/util/Either;intermediary method_33842Lnet/minecraft/class_5843;method_33842(Lnet/minecraft/class_5843;)Lcom/mojang/datafixers/util/Either;named mapLnet/minecraft/world/gen/YOffset;map(Lnet/minecraft/world/gen/YOffset;)Lcom/mojang/datafixers/util/Either;
-
getOffset
protected int getOffset()
- Mappings:
Namespace Name Mixin selector official cLcpe;c()Iintermediary method_33848Lnet/minecraft/class_5843;method_33848()Inamed getOffsetLnet/minecraft/world/gen/YOffset;getOffset()I
-
getY
public abstract int getY(HeightContext context)
- Mappings:
Namespace Name Mixin selector official aLcpe;a(Lcpg;)Iintermediary method_33844Lnet/minecraft/class_5843;method_33844(Lnet/minecraft/class_5868;)Inamed getYLnet/minecraft/world/gen/YOffset;getY(Lnet/minecraft/world/gen/HeightContext;)I
-
-