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>codecstatic BlockPlacerType<ColumnPlacer>COLUMN_PLACERstatic BlockPlacerType<DoublePlantPlacer>DOUBLE_PLANT_PLACERstatic BlockPlacerType<SimpleBlockPlacer>SIMPLE_BLOCK_PLACER -
Constructor Summary
Constructors Modifier Constructor Description privateBlockPlacerType(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
-