Class CaveSurface.Half

java.lang.Object
net.minecraft.world.gen.feature.util.CaveSurface
net.minecraft.world.gen.feature.util.CaveSurface.Half
Enclosing class:
CaveSurface

public static final class CaveSurface.Half extends CaveSurface
Mappings:
Namespace Name
official dha$c
intermediary net/minecraft/class_5721$class_5724
named net/minecraft/world/gen/feature/util/CaveSurface$Half
  • Field Details

    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official a Ldha$c;a:I
      intermediary field_28200 Lnet/minecraft/class_5721$class_5724;field_28200:I
      named height Lnet/minecraft/world/gen/feature/util/CaveSurface$Half;height:I
    • floor

      private final boolean floor
      Mappings:
      Namespace Name Mixin selector
      official b Ldha$c;b:Z
      intermediary field_28201 Lnet/minecraft/class_5721$class_5724;field_28201:Z
      named floor Lnet/minecraft/world/gen/feature/util/CaveSurface$Half;floor:Z
  • Constructor Details

    • Half

      public Half(int height, boolean floor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldha$c;<init>(IZ)V
      intermediary <init> Lnet/minecraft/class_5721$class_5724;<init>(IZ)V
      named <init> Lnet/minecraft/world/gen/feature/util/CaveSurface$Half;<init>(IZ)V
  • Method Details

    • getCeilingHeight

      public OptionalInt getCeilingHeight()
      Specified by:
      getCeilingHeight in class CaveSurface
      Mappings:
      Namespace Name Mixin selector
      official b Ldha;b()Ljava/util/OptionalInt;
      intermediary method_32985 Lnet/minecraft/class_5721;method_32985()Ljava/util/OptionalInt;
      named getCeilingHeight Lnet/minecraft/world/gen/feature/util/CaveSurface;getCeilingHeight()Ljava/util/OptionalInt;
    • getFloorHeight

      public OptionalInt getFloorHeight()
      Specified by:
      getFloorHeight in class CaveSurface
      Mappings:
      Namespace Name Mixin selector
      official c Ldha;c()Ljava/util/OptionalInt;
      intermediary method_32987 Lnet/minecraft/class_5721;method_32987()Ljava/util/OptionalInt;
      named getFloorHeight Lnet/minecraft/world/gen/feature/util/CaveSurface;getFloorHeight()Ljava/util/OptionalInt;
    • getOptionalHeight

      public OptionalInt getOptionalHeight()
      Specified by:
      getOptionalHeight in class CaveSurface
      Mappings:
      Namespace Name Mixin selector
      official d Ldha;d()Ljava/util/OptionalInt;
      intermediary method_33385 Lnet/minecraft/class_5721;method_33385()Ljava/util/OptionalInt;
      named getOptionalHeight Lnet/minecraft/world/gen/feature/util/CaveSurface;getOptionalHeight()Ljava/util/OptionalInt;
    • toString

      public String toString()
      Overrides:
      toString in class Object