public class SurfaceBuilderConfig extends java.lang.Object implements ISurfaceBuilderConfig
Modifier and Type | Field and Description |
---|---|
private BlockState |
topMaterial |
private BlockState |
underMaterial |
private BlockState |
underWaterMaterial |
Constructor and Description |
---|
SurfaceBuilderConfig(BlockState topMaterial,
BlockState underMaterial,
BlockState underWaterMaterial) |
Modifier and Type | Method and Description |
---|---|
static SurfaceBuilderConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_215455_0_) |
BlockState |
getTop() |
BlockState |
getUnder() |
BlockState |
getUnderWaterMaterial() |
private final BlockState topMaterial
private final BlockState underMaterial
private final BlockState underWaterMaterial
public SurfaceBuilderConfig(BlockState topMaterial, BlockState underMaterial, BlockState underWaterMaterial)
public BlockState getTop()
getTop
in interface ISurfaceBuilderConfig
public BlockState getUnder()
getUnder
in interface ISurfaceBuilderConfig
public BlockState getUnderWaterMaterial()
public static SurfaceBuilderConfig deserialize(com.mojang.datafixers.Dynamic<?> p_215455_0_)