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
- Mappings:
Namespace Name official csqintermediary net/minecraft/class_4630named net/minecraft/world/gen/placer/BlockPlacerType
-
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
- Mappings:
Namespace Name Mixin selector official aLcsq;a:Lcsq;intermediary field_21223Lnet/minecraft/class_4630;field_21223:Lnet/minecraft/class_4630;named SIMPLE_BLOCK_PLACERLnet/minecraft/world/gen/placer/BlockPlacerType;SIMPLE_BLOCK_PLACER:Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
DOUBLE_PLANT_PLACER
- Mappings:
Namespace Name Mixin selector official bLcsq;b:Lcsq;intermediary field_21224Lnet/minecraft/class_4630;field_21224:Lnet/minecraft/class_4630;named DOUBLE_PLANT_PLACERLnet/minecraft/world/gen/placer/BlockPlacerType;DOUBLE_PLANT_PLACER:Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
COLUMN_PLACER
- Mappings:
Namespace Name Mixin selector official cLcsq;c:Lcsq;intermediary field_21225Lnet/minecraft/class_4630;field_21225:Lnet/minecraft/class_4630;named COLUMN_PLACERLnet/minecraft/world/gen/placer/BlockPlacerType;COLUMN_PLACER:Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
codec
- Mappings:
Namespace Name Mixin selector official dLcsq;d:Lcom/mojang/serialization/Codec;intermediary field_24866Lnet/minecraft/class_4630;field_24866:Lcom/mojang/serialization/Codec;named codecLnet/minecraft/world/gen/placer/BlockPlacerType;codec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
BlockPlacerType
- Mappings:
Namespace Name Mixin selector official <init>Lcsq;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_4630;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/placer/BlockPlacerType;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
register
private static <P extends BlockPlacer> BlockPlacerType<P> register(String id, com.mojang.serialization.Codec<P> codec)- Mappings:
Namespace Name Mixin selector official aLcsq;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcsq;intermediary method_23405Lnet/minecraft/class_4630;method_23405(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4630;named registerLnet/minecraft/world/gen/placer/BlockPlacerType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
getCodec
- Mappings:
Namespace Name Mixin selector official aLcsq;a()Lcom/mojang/serialization/Codec;intermediary method_28674Lnet/minecraft/class_4630;method_28674()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/placer/BlockPlacerType;getCodec()Lcom/mojang/serialization/Codec;
-