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 pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CarverDebugSettings
of
(boolean pDebugMode, BlockState pAirState) static CarverDebugSettings
of
(boolean pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) static CarverDebugSettings
of
(BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState)
-
Field Details
-
DEFAULT
-
CODEC
-
debugMode
private final boolean debugMode -
airState
-
waterState
-
lavaState
-
barrierState
-
-
Constructor Details
-
CarverDebugSettings
private CarverDebugSettings(boolean pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState)
-
-
Method Details
-
of
public static CarverDebugSettings of(boolean pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) -
of
public static CarverDebugSettings of(BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) -
of
-
isDebugMode
public boolean isDebugMode() -
getAirState
-
getWaterState
-
getLavaState
-
getBarrierState
-