Class Craft

java.lang.Object
me.croabeast.common.reflect.Craft

public class Craft extends Object
The Craft class provides reflection-based helper methods to interact with internal server classes and configuration files in a CraftBukkit/Spigot environment.

It offers utilities for working with server icons, configuration files, command maps, and command dispatchers, leveraging reflection to access methods and fields that are not normally exposed. The class is organized into nested utility classes that group functionality:

  • Craft.Server: Contains methods for server-related tasks such as loading icons, retrieving configuration files, and updating commands.
  • Craft.Command: Provides access to command dispatching and manipulation, including removal and synchronization of commands.
  • Constructor Details

    • Craft

      public Craft()