Class CarverDebugSettings
java.lang.Object
net.minecraft.world.level.levelgen.carver.CarverDebugSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockStateprivate final BlockStatestatic final com.mojang.serialization.Codec<CarverDebugSettings> private final booleanstatic final CarverDebugSettingsprivate final BlockStateprivate final BlockState -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCarverDebugSettings(boolean pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CarverDebugSettingsof(boolean pDebugMode, BlockState pAirState) static CarverDebugSettingsof(boolean pDebugMode, BlockState pAirState, BlockState pWaterState, BlockState pLavaState, BlockState pBarrierState) static CarverDebugSettingsof(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
-