Class SurfaceBuilderConfig
- java.lang.Object
-
- net.minecraft.world.gen.surfacebuilders.SurfaceBuilderConfig
-
- All Implemented Interfaces:
ISurfaceBuilderConfig
public class SurfaceBuilderConfig extends java.lang.Object implements ISurfaceBuilderConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<SurfaceBuilderConfig>
CODEC
private BlockState
topMaterial
private BlockState
underMaterial
private BlockState
underwaterMaterial
-
Constructor Summary
Constructors Constructor Description SurfaceBuilderConfig(BlockState p_i48954_1_, BlockState p_i48954_2_, BlockState p_i48954_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockState
getTopMaterial()
BlockState
getUnderMaterial()
BlockState
getUnderwaterMaterial()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<SurfaceBuilderConfig> CODEC
-
topMaterial
private final BlockState topMaterial
-
underMaterial
private final BlockState underMaterial
-
underwaterMaterial
private final BlockState underwaterMaterial
-
-
Constructor Detail
-
SurfaceBuilderConfig
public SurfaceBuilderConfig(BlockState p_i48954_1_, BlockState p_i48954_2_, BlockState p_i48954_3_)
-
-
Method Detail
-
getTopMaterial
public BlockState getTopMaterial()
- Specified by:
getTopMaterial
in interfaceISurfaceBuilderConfig
-
getUnderMaterial
public BlockState getUnderMaterial()
- Specified by:
getUnderMaterial
in interfaceISurfaceBuilderConfig
-
getUnderwaterMaterial
public BlockState getUnderwaterMaterial()
-
-