Class RegisterCommandsEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.RegisterCommandsEvent

public class RegisterCommandsEvent extends net.minecraftforge.eventbus.api.Event
Commands are rebuilt whenever DataPackRegistries is recreated. You can use this event to register your commands whenever the Commands class in constructed. The event is fired on the MinecraftForge.EVENT_BUS