public class TernarySurfaceConfig extends Object implements SurfaceConfig
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<TernarySurfaceConfig> |
CODEC |
private BlockState |
topMaterial |
private BlockState |
underMaterial |
private BlockState |
underwaterMaterial |
Constructor and Description |
---|
TernarySurfaceConfig(BlockState topMaterial,
BlockState underMaterial,
BlockState underwaterMaterial) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getTopMaterial() |
BlockState |
getUnderMaterial() |
BlockState |
getUnderwaterMaterial() |
public static final com.mojang.serialization.Codec<TernarySurfaceConfig> CODEC
private final BlockState topMaterial
private final BlockState underMaterial
private final BlockState underwaterMaterial
public TernarySurfaceConfig(BlockState topMaterial, BlockState underMaterial, BlockState underwaterMaterial)
public BlockState getTopMaterial()
getTopMaterial
in interface SurfaceConfig
public BlockState getUnderMaterial()
getUnderMaterial
in interface SurfaceConfig
public BlockState getUnderwaterMaterial()