Class TernarySurfaceConfig
java.lang.Object
net.minecraft.world.gen.surfacebuilder.TernarySurfaceConfig
- All Implemented Interfaces:
SurfaceConfig
public class TernarySurfaceConfig extends Object implements SurfaceConfig
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<TernarySurfaceConfig>
CODEC
private BlockState
topMaterial
private BlockState
underMaterial
private BlockState
underwaterMaterial
-
Constructor Summary
Constructors Constructor Description TernarySurfaceConfig(BlockState topMaterial, BlockState underMaterial, BlockState underwaterMaterial)
-
Method Summary
Modifier and Type Method Description BlockState
getTopMaterial()
BlockState
getUnderMaterial()
BlockState
getUnderwaterMaterial()
-
Field Details
-
CODEC
-
topMaterial
-
underMaterial
-
underwaterMaterial
-
-
Constructor Details
-
TernarySurfaceConfig
public TernarySurfaceConfig(BlockState topMaterial, BlockState underMaterial, BlockState underwaterMaterial)
-
-
Method Details
-
getTopMaterial
- Specified by:
getTopMaterial
in interfaceSurfaceConfig
-
getUnderMaterial
- Specified by:
getUnderMaterial
in interfaceSurfaceConfig
-
getUnderwaterMaterial
-