Class BlockRegistry

java.lang.Object
net.trique.wardentools.registry.BlockRegistry

public class BlockRegistry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block>
     
    protected static final net.trique.wardentools.registration.RegistrationProvider<net.minecraft.world.level.block.Block>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,BuddingSculkhystBlock>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,SculkhystBlock>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock>
     
    static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Iterable<net.minecraft.world.level.block.Block>
     
    static void
     
    protected static <T extends net.minecraft.world.level.block.Block>
    net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,T>
    registerBlock(String name, Supplier<T> block)
     
    protected static <T extends net.minecraft.world.level.block.Block>
    net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,T>
    registerBlock(String name, Supplier<T> block, Function<net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,T>,Supplier<? extends net.minecraft.world.item.BlockItem>> item)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BLOCKS

      protected static final net.trique.wardentools.registration.RegistrationProvider<net.minecraft.world.level.block.Block> BLOCKS
    • SCULKHYST_BLOCK

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,SculkhystBlock> SCULKHYST_BLOCK
    • BUDDING_SCULKHYST

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,BuddingSculkhystBlock> BUDDING_SCULKHYST
    • SCULKHYST_CLUSTER

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock> SCULKHYST_CLUSTER
    • LARGE_SCULKHYST_BUD

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock> LARGE_SCULKHYST_BUD
    • MEDIUM_SCULKHYST_BUD

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock> MEDIUM_SCULKHYST_BUD
    • SMALL_SCULKHYST_BUD

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.AmethystClusterBlock> SMALL_SCULKHYST_BUD
    • BLOCK_OF_AMETHYST_INGOTS

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> BLOCK_OF_AMETHYST_INGOTS
    • ROSE_GOLD_BLOCK

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> ROSE_GOLD_BLOCK
    • ECHO_BLOCK

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> ECHO_BLOCK
    • WARDEN_BLOCK

      public static final net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> WARDEN_BLOCK
  • Constructor Details

    • BlockRegistry

      public BlockRegistry()
  • Method Details

    • init

      public static void init()
    • registerBlock

      protected static <T extends net.minecraft.world.level.block.Block> net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,T> registerBlock(String name, Supplier<T> block)
    • registerBlock

      protected static <T extends net.minecraft.world.level.block.Block> net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,T> registerBlock(String name, Supplier<T> block, Function<net.trique.wardentools.registration.RegistryObject<net.minecraft.world.level.block.Block,T>,Supplier<? extends net.minecraft.world.item.BlockItem>> item)
    • getModBlocks

      public static Iterable<net.minecraft.world.level.block.Block> getModBlocks()