Class CaveSurface

java.lang.Object
net.minecraft.world.gen.feature.util.CaveSurface
Direct Known Subclasses:
CaveSurface.Bounded, CaveSurface.Empty, CaveSurface.Half

public abstract class CaveSurface extends Object
Mappings:
Namespace Name
official czj
intermediary net/minecraft/class_5721
named net/minecraft/world/gen/feature/util/CaveSurface
  • Constructor Details

    • CaveSurface

      public CaveSurface()
  • Method Details

    • method_35326

      public static CaveSurface.Bounded method_35326(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a(II)Lczj$b;
      intermediary method_35326 Lnet/minecraft/class_5721;method_35326(II)Lnet/minecraft/class_5721$class_5723;
      named method_35326 Lnet/minecraft/world/gen/feature/util/CaveSurface;method_35326(II)Lnet/minecraft/world/gen/feature/util/CaveSurface$Bounded;
    • createBounded

      public static CaveSurface.Bounded createBounded(int floor, int ceiling)
      Mappings:
      Namespace Name Mixin selector
      official b Lczj;b(II)Lczj$b;
      intermediary method_32986 Lnet/minecraft/class_5721;method_32986(II)Lnet/minecraft/class_5721$class_5723;
      named createBounded Lnet/minecraft/world/gen/feature/util/CaveSurface;createBounded(II)Lnet/minecraft/world/gen/feature/util/CaveSurface$Bounded;
    • createHalfWithCeiling

      public static CaveSurface createHalfWithCeiling(int ceiling)
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a(I)Lczj;
      intermediary method_32981 Lnet/minecraft/class_5721;method_32981(I)Lnet/minecraft/class_5721;
      named createHalfWithCeiling Lnet/minecraft/world/gen/feature/util/CaveSurface;createHalfWithCeiling(I)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • method_35327

      public static CaveSurface method_35327(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lczj;b(I)Lczj;
      intermediary method_35327 Lnet/minecraft/class_5721;method_35327(I)Lnet/minecraft/class_5721;
      named method_35327 Lnet/minecraft/world/gen/feature/util/CaveSurface;method_35327(I)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • createHalfWithFloor

      public static CaveSurface createHalfWithFloor(int floor)
      Mappings:
      Namespace Name Mixin selector
      official c Lczj;c(I)Lczj;
      intermediary method_32988 Lnet/minecraft/class_5721;method_32988(I)Lnet/minecraft/class_5721;
      named createHalfWithFloor Lnet/minecraft/world/gen/feature/util/CaveSurface;createHalfWithFloor(I)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • method_35329

      public static CaveSurface method_35329(int int2)
      Mappings:
      Namespace Name Mixin selector
      official d Lczj;d(I)Lczj;
      intermediary method_35329 Lnet/minecraft/class_5721;method_35329(I)Lnet/minecraft/class_5721;
      named method_35329 Lnet/minecraft/world/gen/feature/util/CaveSurface;method_35329(I)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • createEmpty

      public static CaveSurface createEmpty()
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a()Lczj;
      intermediary method_32980 Lnet/minecraft/class_5721;method_32980()Lnet/minecraft/class_5721;
      named createEmpty Lnet/minecraft/world/gen/feature/util/CaveSurface;createEmpty()Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • create

      public static CaveSurface create(OptionalInt ceilingHeight, OptionalInt floorHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a(Ljava/util/OptionalInt;Ljava/util/OptionalInt;)Lczj;
      intermediary method_32984 Lnet/minecraft/class_5721;method_32984(Ljava/util/OptionalInt;Ljava/util/OptionalInt;)Lnet/minecraft/class_5721;
      named create Lnet/minecraft/world/gen/feature/util/CaveSurface;create(Ljava/util/OptionalInt;Ljava/util/OptionalInt;)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • getCeilingHeight

      public abstract OptionalInt getCeilingHeight()
      Mappings:
      Namespace Name Mixin selector
      official b Lczj;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 abstract OptionalInt getFloorHeight()
      Mappings:
      Namespace Name Mixin selector
      official c Lczj;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 abstract OptionalInt getOptionalHeight()
      Mappings:
      Namespace Name Mixin selector
      official d Lczj;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;
    • withFloor

      public CaveSurface withFloor(OptionalInt floor)
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a(Ljava/util/OptionalInt;)Lczj;
      intermediary method_32983 Lnet/minecraft/class_5721;method_32983(Ljava/util/OptionalInt;)Lnet/minecraft/class_5721;
      named withFloor Lnet/minecraft/world/gen/feature/util/CaveSurface;withFloor(Ljava/util/OptionalInt;)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • withCeiling

      public CaveSurface withCeiling(OptionalInt ceiling)
      Mappings:
      Namespace Name Mixin selector
      official b Lczj;b(Ljava/util/OptionalInt;)Lczj;
      intermediary method_35328 Lnet/minecraft/class_5721;method_35328(Ljava/util/OptionalInt;)Lnet/minecraft/class_5721;
      named withCeiling Lnet/minecraft/world/gen/feature/util/CaveSurface;withCeiling(Ljava/util/OptionalInt;)Lnet/minecraft/world/gen/feature/util/CaveSurface;
    • create

      public static Optional<CaveSurface> create(TestableWorld world, BlockPos pos, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace)
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a(Lcgg;Lgt;ILjava/util/function/Predicate;Ljava/util/function/Predicate;)Ljava/util/Optional;
      intermediary method_32982 Lnet/minecraft/class_5721;method_32982(Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;ILjava/util/function/Predicate;Ljava/util/function/Predicate;)Ljava/util/Optional;
      named create Lnet/minecraft/world/gen/feature/util/CaveSurface;create(Lnet/minecraft/world/TestableWorld;Lnet/minecraft/util/math/BlockPos;ILjava/util/function/Predicate;Ljava/util/function/Predicate;)Ljava/util/Optional;
    • getCaveSurface

      private static OptionalInt getCaveSurface(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lczj;a(Lcgg;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lgt$a;ILgy;)Ljava/util/OptionalInt;
      intermediary method_34280 Lnet/minecraft/class_5721;method_34280(Lnet/minecraft/class_3746;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/class_2338$class_2339;ILnet/minecraft/class_2350;)Ljava/util/OptionalInt;
      named getCaveSurface Lnet/minecraft/world/gen/feature/util/CaveSurface;getCaveSurface(Lnet/minecraft/world/TestableWorld;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos$Mutable;ILnet/minecraft/util/math/Direction;)Ljava/util/OptionalInt;