Interface CarverDebugSettings
- All Superinterfaces:
Wrapper
Debug settings for carvers.
- Since:
- 3.0.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CarverDebugSettingsThe default debug settings, as they appear in Minecraft. -
Method Summary
Modifier and TypeMethodDescriptionairState()The block state to use for air.The block state to use for barriers.static CarverDebugSettings.Builderbuilder()Creates a new builder.booleanWhether to enable debug mode.static CarverDebugSettingsReads Minecraft carver debug settings.The block state to use for lava.static CarverDebugSettingsof(boolean debugMode, BlockData airState, BlockData waterState, BlockData lavaState, BlockData barrierState) Creates a new debug settings object.default CarverDebugSettings.BuilderConverts this object back to a builder.The block state to use for water.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Field Details
-
DEFAULT
The default debug settings, as they appear in Minecraft.
-
-
Method Details
-
debugMode
Whether to enable debug mode.- Returns:
- whether debug mode is enabled
- Since:
- 2.3.0
-
airState
-
waterState
-
lavaState
-
barrierState
-
toBuilder
Converts this object back to a builder.- Returns:
- a new builder with the same values as this object
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static CarverDebugSettings of(boolean debugMode, BlockData airState, BlockData waterState, BlockData lavaState, BlockData barrierState) Creates a new debug settings object.- Parameters:
debugMode- whether to enable debug modeairState- the block state to use for airwaterState- the block state to use for waterlavaState- the block state to use for lavabarrierState- the block state to use for barriers- Returns:
- a new debug settings object
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-
decode
Reads Minecraft carver debug settings.- Parameters:
minecraftSettings- the settings to read- Returns:
- the decoded settings
- Since:
- 3.3.0
-