Class BukkitHelperMethods

java.lang.Object
io.github.projectunified.craftcommand.processor.bukkit.BukkitHelperMethods

public final class BukkitHelperMethods extends Object
Generates the Bukkit helper methods used by the wrappers: player/world lookup and suggestions.
  • Method Details

    • generate

      public static void generate(com.palantir.javapoet.TypeSpec.Builder typeSpec, CommandModel model)
      Generate all needed helpers into the given TypeSpec, based on which types the command uses.