Class Column
java.lang.Object
net.minecraft.world.level.levelgen.Column
- Direct Known Subclasses:
Column.Line, Column.Range, Column.Ray
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Columnabove(int floor) static Column.Rangearound(int lowest, int highest) static Columnbelow(int ceiling) static Columncreate(OptionalInt floor, OptionalInt ceiling) static ColumnfromHighest(int highest) static ColumnfromLowest(int lowest) abstract OptionalIntabstract OptionalIntgetFloor()abstract OptionalIntstatic Column.Rangeinside(int floor, int ceiling) static Columnline()scan(LevelSimulatedReader level, BlockPos pos, int searchRange, Predicate<BlockState> insideColumn, Predicate<BlockState> validEdge) private static OptionalIntscanDirection(LevelSimulatedReader level, int searchRange, Predicate<BlockState> insideColumn, Predicate<BlockState> validEdge, BlockPos.MutableBlockPos mutablePos, int nearestEmptyY, Direction direction) withCeiling(OptionalInt ceiling) withFloor(OptionalInt floor)
-
Constructor Details
-
Column
public Column()
-
-
Method Details
-
around
-
inside
-
below
-
fromHighest
-
above
-
fromLowest
-
line
-
create
-
getCeiling
-
getFloor
-
getHeight
-
withFloor
-
withCeiling
-
scan
public static Optional<Column> scan(LevelSimulatedReader level, BlockPos pos, int searchRange, Predicate<BlockState> insideColumn, Predicate<BlockState> validEdge) -
scanDirection
private static OptionalInt scanDirection(LevelSimulatedReader level, int searchRange, Predicate<BlockState> insideColumn, Predicate<BlockState> validEdge, BlockPos.MutableBlockPos mutablePos, int nearestEmptyY, Direction direction)
-