Class ArgumentSerializer.ArgTemplate<T extends com.mojang.brigadier.arguments.ArgumentType<?>,V>

java.lang.Object
net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer.ArgTemplate<T,V>
All Implemented Interfaces:
net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T>
Enclosing class:
ArgumentSerializer<T extends com.mojang.brigadier.arguments.ArgumentType<?>,V>

public static class ArgumentSerializer.ArgTemplate<T extends com.mojang.brigadier.arguments.ArgumentType<?>,V> extends Object implements net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T>
  • Constructor Details

  • Method Details

    • instantiate

      @NotNull public T instantiate(@NotNull @NotNull net.minecraft.commands.CommandBuildContext ctx)
      Specified by:
      instantiate in interface net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
    • type

      @NotNull public @NotNull net.minecraft.commands.synchronization.ArgumentTypeInfo<T,?> type()
      Specified by:
      type in interface net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>>