Interface CaveWorldCarver
- All Superinterfaces:
CarverConfiguration, Wrapper
A direct Minecraft cave world carver.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CaveWorldCarver.Builderbuilder()Creates a new cave world carver builder.count()The number of cave tunnels attempted by the carver.The relative floor level below which the cave is not carved.The horizontal radius multiplier used for cave tunnels.static CaveWorldCarverof(float probability, HeightProvider y, IntProvider count, FloatProvider thickness, boolean weirdThicknessBias, FloatProvider roomVerticalRadiusMultiplier, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider startVerticalRadiusMultiplier, FloatProvider floorLevel) Creates a cave world carver.The vertical radius multiplier used for cave rooms.The vertical radius multiplier used at the start of a cave tunnel.The base thickness of each cave tunnel.default CaveWorldCarver.BuilderConverts this cave carver back to a builder.The vertical radius multiplier used for cave tunnels.booleanWhether the carver applies Minecraft's biased thickness calculation.Methods inherited from interface CarverConfiguration
probability, yMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
count
The number of cave tunnels attempted by the carver.- Returns:
- the cave tunnel count
- Since:
- 4.0.0
-
thickness
The base thickness of each cave tunnel.- Returns:
- the cave tunnel thickness
- Since:
- 4.0.0
-
weirdThicknessBias
Whether the carver applies Minecraft's biased thickness calculation.- Returns:
- whether the thickness calculation is biased
- Since:
- 4.0.0
-
roomVerticalRadiusMultiplier
The vertical radius multiplier used for cave rooms.- Returns:
- the room vertical radius multiplier
- Since:
- 4.0.0
-
horizontalRadiusMultiplier
The horizontal radius multiplier used for cave tunnels.- Returns:
- the horizontal radius multiplier
- Since:
- 4.0.0
-
verticalRadiusMultiplier
The vertical radius multiplier used for cave tunnels.- Returns:
- the vertical radius multiplier
- Since:
- 4.0.0
-
startVerticalRadiusMultiplier
The vertical radius multiplier used at the start of a cave tunnel.- Returns:
- the starting vertical radius multiplier
- Since:
- 4.0.0
-
floorLevel
The relative floor level below which the cave is not carved.- Returns:
- the cave floor level
- Since:
- 4.0.0
-
toBuilder
Converts this cave carver back to a builder.- Returns:
- a builder containing this carver's values
- Since:
- 4.0.0
-
of
@AsOf("4.0.0") static CaveWorldCarver of(float probability, HeightProvider y, IntProvider count, FloatProvider thickness, boolean weirdThicknessBias, FloatProvider roomVerticalRadiusMultiplier, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider startVerticalRadiusMultiplier, FloatProvider floorLevel) Creates a cave world carver.- Parameters:
probability- the probability that the carver starts in an eligible chunky- the provider used to select the starting y-coordinatecount- the number of cave tunnels attemptedthickness- the base thickness of each cave tunnelweirdThicknessBias- whether to apply the biased thickness calculationroomVerticalRadiusMultiplier- the vertical radius multiplier for cave roomshorizontalRadiusMultiplier- the horizontal radius multiplier for cave tunnelsverticalRadiusMultiplier- the vertical radius multiplier for cave tunnelsstartVerticalRadiusMultiplier- the vertical radius multiplier at the start of a tunnelfloorLevel- the relative floor level below which the cave is not carved- Returns:
- a new cave world carver
- Since:
- 4.0.0
-
builder
Creates a new cave world carver builder.- Returns:
- a new builder
- Since:
- 4.0.0
-