Class SingletonArgumentInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
java.lang.Object
net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo.Template<T>
- Type Parameters:
T- The argument type.
- All Implemented Interfaces:
net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T>
- Enclosing class:
SingletonArgumentInfo<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
public static class SingletonArgumentInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
extends Object
implements net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T>
A template that holds a cached argument singleton.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninstantiate(@NotNull net.minecraft.commands.CommandBuildContext ctx) @NotNull net.minecraft.commands.synchronization.ArgumentTypeInfo<T, ?> type()
-
Constructor Details
-
Template
-
-
Method Details
-
instantiate
- Specified by:
instantiatein interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
-
type
- Specified by:
typein interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
-