Plugin¶
-
public abstract class
Plugin¶ Author: Florian Warzecha
Methods¶
registerCommandClasses¶
-
public void
registerCommandClasses(FMLServerStartingEvent event)¶ This is called during registration of commands. Allows the registration of own command classes via the
net.minecraftforge.fml.common.event.FMLServerStartingEvent.registerServerCommand(ICommand)method.
registerEventClasses¶
-
public void
registerEventClasses()¶ This is called during registration of events. Allows the registration of own event classes via the
net.minecraftforge.fml.common.eventhandler.EventBus.register(Object)method. Call this method on the following instance:net.minecraftforge.common.MinecraftForge.EVENT_BUS