Class ModBlocks

java.lang.Object
com.rgerva.dbr.block.ModBlocks

public class ModBlocks extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.neoforged.neoforge.registries.DeferredRegister.Blocks
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static net.minecraft.resources.ResourceKey<net.minecraft.world.level.block.Block>
    id(@NotNull String path)
     
    static void
    register(net.neoforged.bus.api.IEventBus eventBus)
     

    Methods inherited from class java.lang.Object

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

    • BLOCKS

      public static final net.neoforged.neoforge.registries.DeferredRegister.Blocks BLOCKS
  • Constructor Details

    • ModBlocks

      public ModBlocks()
  • Method Details

    • id

      protected static net.minecraft.resources.ResourceKey<net.minecraft.world.level.block.Block> id(@NotNull @NotNull String path)
    • register

      public static void register(net.neoforged.bus.api.IEventBus eventBus)