Class DumpCommands

java.lang.Object
dev.latvian.mods.kubejs.command.DumpCommands

public class DumpCommands extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    events(net.minecraft.commands.CommandSourceStack source)
     
    static <T> int
    registry(net.minecraft.commands.CommandSourceStack source, net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registry)
     

    Methods inherited from class java.lang.Object

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

    • DumpCommands

      public DumpCommands()
  • Method Details

    • events

      public static int events(net.minecraft.commands.CommandSourceStack source)
    • registry

      public static <T> int registry(net.minecraft.commands.CommandSourceStack source, net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registry) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException