Class DillonLibEvents

java.lang.Object
net.dillon.dillonlib.core.DillonLibEvents

public class DillonLibEvents extends Object
All registry events for DillonLib.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    registerAllClientCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess)
    Registers all client commands.
    static void
    registerAllCommonCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess)
    Registers all common commands.
    protected static void
    Registers all common events.
    static void
    registerAllServerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess)
    Registers all server commands.

    Methods inherited from class Object

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

    • DillonLibEvents

      public DillonLibEvents()
  • Method Details

    • registerAllEvents

      protected static void registerAllEvents()
      Registers all common events.
    • registerAllCommonCommands

      public static void registerAllCommonCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess)
      Registers all common commands.
    • registerAllClientCommands

      public static void registerAllClientCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess)
      Registers all client commands.
    • registerAllServerCommands

      public static void registerAllServerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess)
      Registers all server commands.