Interface VeilResourceAction<T extends VeilResource<?>>

All Known Implementing Classes:
FramebufferEditAction, TextEditAction

public interface VeilResourceAction<T extends VeilResource<?>>
  • Method Details

    • getName

      net.minecraft.network.chat.Component getName()
      Returns:
      The name of the action
    • getDescription

      net.minecraft.network.chat.Component getDescription()
      Returns:
      A brief description of the action
    • getIcon

      OptionalInt getIcon()
      Returns:
      The icon to display for the action
    • perform

      void perform(VeilEditorEnvironment environment, T resource)
      Performs the action on the specified resource