Class CaveSurface
java.lang.Object
net.minecraft.world.gen.feature.util.CaveSurface
- Direct Known Subclasses:
CaveSurface.Bounded
,CaveSurface.Empty
,CaveSurface.Half
- Mappings:
Namespace Name official csm
intermediary net/minecraft/class_5721
named net/minecraft/world/gen/feature/util/CaveSurface
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CaveSurface
create
(OptionalInt ceilingHeight, OptionalInt floorHeight) static Optional<CaveSurface>
create
(TestableWorld world, BlockPos pos, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace) static CaveSurface.Bounded
createBounded
(int floor, int ceiling) static CaveSurface
static CaveSurface
createHalfWithCeiling
(int ceiling) static CaveSurface
createHalfWithFloor
(int floor) private static OptionalInt
getCaveSurface
(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction) abstract OptionalInt
abstract OptionalInt
abstract OptionalInt
static CaveSurface.Bounded
method_35326
(int int2, int int3) static CaveSurface
method_35327
(int int2) static CaveSurface
method_35329
(int int2) withCeiling
(OptionalInt ceiling) withFloor
(OptionalInt floor)
-
Constructor Details
-
CaveSurface
public CaveSurface()
-
-
Method Details
-
method_35326
- Mappings:
Namespace Name Mixin selector official a
Lcsm;a(II)Lcsm$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
- Mappings:
Namespace Name Mixin selector official b
Lcsm;b(II)Lcsm$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
- Mappings:
Namespace Name Mixin selector official a
Lcsm;a(I)Lcsm;
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
- Mappings:
Namespace Name Mixin selector official b
Lcsm;b(I)Lcsm;
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
- Mappings:
Namespace Name Mixin selector official c
Lcsm;c(I)Lcsm;
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
- Mappings:
Namespace Name Mixin selector official d
Lcsm;d(I)Lcsm;
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
- Mappings:
Namespace Name Mixin selector official a
Lcsm;a()Lcsm;
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
- Mappings:
Namespace Name Mixin selector official a
Lcsm;a(Ljava/util/OptionalInt;Ljava/util/OptionalInt;)Lcsm;
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
- Mappings:
Namespace Name Mixin selector official b
Lcsm;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
- Mappings:
Namespace Name Mixin selector official c
Lcsm;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
- Mappings:
Namespace Name Mixin selector official d
Lcsm;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
- Mappings:
Namespace Name Mixin selector official a
Lcsm;a(Ljava/util/OptionalInt;)Lcsm;
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
- Mappings:
Namespace Name Mixin selector official b
Lcsm;b(Ljava/util/OptionalInt;)Lcsm;
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
Lcsm;a(Lcac;Lgh;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
Lcsm;a(Lcac;ILjava/util/function/Predicate;Ljava/util/function/Predicate;Lgh$a;ILgm;)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;
-