Interface Carver
- All Superinterfaces:
DataPackSerializable
,DefaultedRegistryValue
@CatalogedBy(Carvers.class)
public interface Carver
extends DefaultedRegistryValue, DataPackSerializable
A carver used in world generation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Carver.Builder
builder()
Creates a newCarver.Builder
to create aCarver
.type()
Returns the carver typeMethods inherited from interface org.spongepowered.api.datapack.DataPackSerializable
toDataPack
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
builder
Creates a newCarver.Builder
to create aCarver
.- Returns:
- The new builder
-
type
CarverType type()Returns the carver type- Returns:
- The carver type
-