Class DillonLibEvents
java.lang.Object
net.dillon.dillonlib.core.DillonLibEvents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterAllClientCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess) Registers allclientcommands.static voidregisterAllCommonCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess) Registers allcommoncommands.protected static voidRegisters allcommonevents.static voidregisterAllServerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess) Registers allservercommands.
-
Constructor Details
-
DillonLibEvents
public DillonLibEvents()
-
-
Method Details
-
registerAllEvents
protected static void registerAllEvents()Registers allcommonevents. -
registerAllCommonCommands
public static void registerAllCommonCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess) Registers allcommoncommands. -
registerAllClientCommands
public static void registerAllClientCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess) Registers allclientcommands. -
registerAllServerCommands
public static void registerAllServerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> commandDispatcher, net.minecraft.commands.CommandBuildContext commandRegistryAccess) Registers allservercommands.
-