Class EnumArgument.Info.Template

java.lang.Object
net.neoforged.neoforge.server.command.EnumArgument.Info.Template
All Implemented Interfaces:
net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<EnumArgument<T>>
Enclosing class:
EnumArgument.Info<T extends Enum<T>>

public class EnumArgument.Info.Template extends Object implements net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<EnumArgument<T>>
  • Field Details

  • Constructor Details

    • Template

      Template(Class<T> enumClass)
  • Method Details

    • instantiate

      public EnumArgument<T> instantiate(net.minecraft.commands.CommandBuildContext p_223435_)
      Specified by:
      instantiate in interface net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<EnumArgument<T extends Enum<T>>>
    • type

      public net.minecraft.commands.synchronization.ArgumentTypeInfo<EnumArgument<T>,?> type()
      Specified by:
      type in interface net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<EnumArgument<T extends Enum<T>>>