Class BlockPlacerType<P extends BlockPlacer>

java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<BlockPlacerType<?>>
net.minecraft.world.level.levelgen.feature.blockplacers.BlockPlacerType<P>
All Implemented Interfaces:
IForgeRegistryEntry<BlockPlacerType<?>>

public class BlockPlacerType<P extends BlockPlacer> extends ForgeRegistryEntry<BlockPlacerType<?>>
  • Field Details

  • Constructor Details

    • BlockPlacerType

      public BlockPlacerType(com.mojang.serialization.Codec<P> p_67493_)
  • Method Details

    • register

      private static <P extends BlockPlacer> BlockPlacerType<P> register(String p_67496_, com.mojang.serialization.Codec<P> p_67497_)
    • codec

      public com.mojang.serialization.Codec<P> codec()