Class YOffset.Fixed

java.lang.Object
net.minecraft.world.gen.YOffset
net.minecraft.world.gen.YOffset.Fixed
Enclosing class:
YOffset

private static final class YOffset.Fixed extends YOffset
Mappings:
Namespace Name
official cqj$b
intermediary net/minecraft/class_5843$class_5845
named net/minecraft/world/gen/YOffset$Fixed
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<YOffset.Fixed> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcqj$b;b:Lcom/mojang/serialization/Codec;
      intermediary field_28920 Lnet/minecraft/class_5843$class_5845;field_28920:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/YOffset$Fixed;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • Fixed

      protected Fixed(int offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcqj;<init>(I)V
      intermediary <init> Lnet/minecraft/class_5843;<init>(I)V
      named <init> Lnet/minecraft/world/gen/YOffset;<init>(I)V
  • Method Details

    • getY

      public int getY(HeightContext context)
      Specified by:
      getY in class YOffset
      Mappings:
      Namespace Name Mixin selector
      official a Lcqj;a(Lcql;)I
      intermediary method_33844 Lnet/minecraft/class_5843;method_33844(Lnet/minecraft/class_5868;)I
      named getY Lnet/minecraft/world/gen/YOffset;getY(Lnet/minecraft/world/gen/HeightContext;)I
    • toString

      public String toString()
      Overrides:
      toString in class Object