Class CarverDebugSettings
java.lang.Object
net.minecraft.world.level.levelgen.carver.CarverDebugSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockState
private final BlockState
static final com.mojang.serialization.Codec
<CarverDebugSettings> private final boolean
static final CarverDebugSettings
private final BlockState
private final BlockState
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
CarverDebugSettings
(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CarverDebugSettings
of
(boolean debugMode, BlockState airState) static CarverDebugSettings
of
(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) static CarverDebugSettings
of
(BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState)
-
Field Details
-
DEFAULT
-
CODEC
-
debugMode
private final boolean debugMode -
airState
-
waterState
-
lavaState
-
barrierState
-
-
Constructor Details
-
CarverDebugSettings
private CarverDebugSettings(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState)
-
-
Method Details
-
of
public static CarverDebugSettings of(boolean debugMode, BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) -
of
public static CarverDebugSettings of(BlockState airState, BlockState waterState, BlockState lavaState, BlockState barrierState) -
of
-
isDebugMode
public boolean isDebugMode() -
getAirState
-
getWaterState
-
getLavaState
-
getBarrierState
-