Class MhmBitsnbobs

java.lang.Object
net.minheur.mhm_bitsnbobs.MhmBitsnbobs

public class MhmBitsnbobs extends Object
The file is the core of the mod. It's him who link all classes together, making all items and blocks registered.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Here we call the register method created with every DeferredRegister.
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    addCreative(net.minecraftforge.event.BuildCreativeModeTabContentsEvent event)
    Here we add items to vanilla creative mod tabs
    private void
    commonSetup(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
     
    private void
    onRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event)
     
    void
    onServerStarting(net.minecraftforge.event.server.ServerStartingEvent event)
    You can use SubscribeEvent and let the Event Bus discover methods to call

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • MhmBitsnbobs

      public MhmBitsnbobs()
      Here we call the register method created with every DeferredRegister.
  • Method Details

    • onRegisterCommands

      private void onRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event)
    • commonSetup

      private void commonSetup(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
    • addCreative

      private void addCreative(net.minecraftforge.event.BuildCreativeModeTabContentsEvent event)
      Here we add items to vanilla creative mod tabs
    • onServerStarting

      public void onServerStarting(net.minecraftforge.event.server.ServerStartingEvent event)
      You can use SubscribeEvent and let the Event Bus discover methods to call