Interface BukkitBrigadierMapper.ArgumentTypeFactory

Enclosing class:
BukkitBrigadierMapper<C>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@API(status=INTERNAL) @FunctionalInterface public static interface BukkitBrigadierMapper.ArgumentTypeFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.brigadier.arguments.ArgumentType<?>
    makeInstance(Class<? extends com.mojang.brigadier.arguments.ArgumentType<?>> argumentTypeClass)
    Make an instance of class.
  • Method Details

    • makeInstance

      com.mojang.brigadier.arguments.ArgumentType<?> makeInstance(Class<? extends com.mojang.brigadier.arguments.ArgumentType<?>> argumentTypeClass) throws ReflectiveOperationException
      Make an instance of class.
      Parameters:
      argumentTypeClass - class
      Returns:
      instance
      Throws:
      ReflectiveOperationException - on reflection error