Class Craft.Server.Minecraft

java.lang.Object
me.croabeast.common.reflect.Craft.Server.Minecraft
Enclosing class:
Craft.Server

public static class Craft.Server.Minecraft extends Object
Provides access to internal Minecraft server functions.
  • Field Details

    • INSTANCE

      public final Reflector INSTANCE
      A singleton Reflector instance wrapping the NMS MinecraftServer class.
  • Constructor Details

    • Minecraft

      public Minecraft()
  • Method Details

    • getMojangCommandDispatcher

      public Object getMojangCommandDispatcher()
      Retrieves the Mojang command dispatcher from the Minecraft server.
      Returns:
      the command dispatcher object, or null if unavailable