Interface ArgumentTypeProvider<T>

All Known Subinterfaces:
ArgumentTypeProvider.NS<T>, ArgumentTypeProvider.NSNCTX<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ArgumentTypeProvider<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.brigadier.arguments.ArgumentType<?>
    create(DataTypeCommandInfo<T> self, net.minecraft.commands.CommandBuildContext ctx)
     
  • Method Details

    • create

      com.mojang.brigadier.arguments.ArgumentType<?> create(DataTypeCommandInfo<T> self, net.minecraft.commands.CommandBuildContext ctx)