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 p_159123_, BlockState p_159124_, BlockState p_159125_, BlockState p_159126_, BlockState p_159127_) -
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 p_159123_, BlockState p_159124_, BlockState p_159125_, BlockState p_159126_, BlockState p_159127_)
-
-
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
-