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 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:
      instantiate in interface net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<WerewolfFormArgument>
    • type

      @Nonnull public net.minecraft.commands.synchronization.ArgumentTypeInfo<WerewolfFormArgument,?> type()
      Specified by:
      type in interface net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<WerewolfFormArgument>