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 TypeMethodDescriptioncom.mojang.brigadier.arguments.ArgumentType<?> makeInstance(Class<? extends com.mojang.brigadier.arguments.ArgumentType<?>> argumentTypeClass) Make an instance ofclass.
-
Method Details
-
makeInstance
com.mojang.brigadier.arguments.ArgumentType<?> makeInstance(Class<? extends com.mojang.brigadier.arguments.ArgumentType<?>> argumentTypeClass) throws ReflectiveOperationException Make an instance ofclass.- Parameters:
argumentTypeClass- class- Returns:
- instance
- Throws:
ReflectiveOperationException- on reflection error
-