Interface ComposedCarver
- All Superinterfaces:
ConfiguredWorldCarver, Keyed, Registerable<ComposedCarver>, Wrapper
@NullMarked
@AsOf("3.0.0")
public interface ComposedCarver
extends ConfiguredWorldCarver, Registerable<ComposedCarver>
A composed carver that uses a world carver type and its configuration.
- Since:
- 3.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ComposedCarver.Builderbuilder()Creates a new builder.static ComposedCarver.Buildercanyon()Creates a new builder for a canyon carver.static ComposedCarver.Buildercave()Creates a new builder for a cave carver.config()The configuration of the carver.static ComposedCarver.BuilderCreates a new builder for a nether cave carver.static ComposedCarverof(@Nullable ResourceKey resourceKey, WorldCarverType type, CarverConfiguration config) Creates a new composed carver.static ComposedCarverof(WorldCarverType type, CarverConfiguration config) Creates a new composed carver.The resource key of the carver.default ComposedCarver.BuilderConverts this composed carver to a builder.type()The type of the carver.Methods inherited from interface ConfiguredWorldCarver
wrapMethods inherited from interface Registerable
registerMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
resourceKey
Optional<ResourceKey> resourceKey()The resource key of the carver.- Returns:
- the resource key of the carver
- Since:
- 3.0.0
-
type
The type of the carver.- Returns:
- the type of the carver
- Since:
- 3.0.0
-
config
The configuration of the carver.- Returns:
- the configuration of the carver
- Since:
- 3.0.0
-
toBuilder
Converts this composed carver to a builder.- Returns:
- a builder with the same values as this composed carver
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static ComposedCarver of(@Nullable ResourceKey resourceKey, WorldCarverType type, CarverConfiguration config) Creates a new composed carver.- Parameters:
resourceKey- the resource key of the carver, or null if not presenttype- the type of the carverconfig- the configuration of the carver- Returns:
- a new composed carver
- Since:
- 3.0.0
-
of
Creates a new composed carver.- Parameters:
type- the type of the carverconfig- the configuration of the carver- Returns:
- a new composed carver
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-
cave
Creates a new builder for a cave carver.- Returns:
- a new builder for a cave carver
- Since:
- 3.0.0
-
netherCave
Creates a new builder for a nether cave carver.- Returns:
- a new builder for a nether cave carver
- Since:
- 3.0.0
-
canyon
Creates a new builder for a canyon carver.- Returns:
- a new builder for a canyon carver
- Since:
- 3.0.0
-