Package net.minecraft.world.gen.placer
Class BlockPlacerType<P extends BlockPlacer>
java.lang.Object
net.minecraft.world.gen.placer.BlockPlacerType<P>
public class BlockPlacerType<P extends BlockPlacer> extends Object
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<P>
codec
static BlockPlacerType<ColumnPlacer>
COLUMN_PLACER
static BlockPlacerType<DoublePlantPlacer>
DOUBLE_PLANT_PLACER
static BlockPlacerType<SimpleBlockPlacer>
SIMPLE_BLOCK_PLACER
-
Constructor Summary
Constructors Modifier Constructor Description private
BlockPlacerType(com.mojang.serialization.Codec<P> codec)
-
Method Summary
Modifier and Type Method Description com.mojang.serialization.Codec<P>
getCodec()
private static <P extends BlockPlacer>
BlockPlacerType<P>register(String id, com.mojang.serialization.Codec<P> codec)
-
Field Details
-
SIMPLE_BLOCK_PLACER
-
DOUBLE_PLANT_PLACER
-
COLUMN_PLACER
-
codec
-
-
Constructor Details
-
BlockPlacerType
-
-
Method Details
-
register
private static <P extends BlockPlacer> BlockPlacerType<P> register(String id, com.mojang.serialization.Codec<P> codec) -
getCodec
-