Class WerewolfFormArgument.Info.Template
java.lang.Object
de.teamlapen.werewolves.command.arguments.WerewolfFormArgument.Info.Template
- All Implemented Interfaces:
net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<WerewolfFormArgument>
- Enclosing class:
- WerewolfFormArgument.Info
public class WerewolfFormArgument.Info.Template
extends Object
implements net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<WerewolfFormArgument>
-
Constructor Summary
ConstructorsConstructorDescriptionTemplate(Collection<de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm> allowedForms) -
Method Summary
Modifier and TypeMethodDescriptioninstantiate(net.minecraft.commands.CommandBuildContext context) net.minecraft.commands.synchronization.ArgumentTypeInfo<WerewolfFormArgument,?> type()
-
Constructor Details
-
Template
public Template(Collection<de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm> allowedForms)
-
-
Method Details
-
instantiate
@Nonnull public WerewolfFormArgument instantiate(@Nonnull net.minecraft.commands.CommandBuildContext context) - Specified by:
instantiatein interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo.Template<WerewolfFormArgument>
-
type
@Nonnull public net.minecraft.commands.synchronization.ArgumentTypeInfo<WerewolfFormArgument,?> type()- Specified by:
typein interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo.Template<WerewolfFormArgument>
-