Interface VeilEditorEnvironment

All Known Implementing Classes:
EditorManager

public interface VeilEditorEnvironment
An environment where files can be opened, edited, and managed.
Since:
1.0.0
  • Method Details

    • open

      <T extends VeilResource<?>> void open(T resource, ResourceFileEditor.Factory<T> editor)
      Opens the specified resource in the specified editor.
      Type Parameters:
      T - The type of resource opened
      Parameters:
      resource - The resource to open
      editor - The editor to use
    • open

      default void open(VeilResource<?> resource, net.minecraft.resources.ResourceLocation editorName)
      Opens the specified resource in the specified editor.
      Parameters:
      resource - The resource to open
      editorName - The name of the editor to open
    • getResourceManager

      VeilResourceManager getResourceManager()
      Returns:
      The resource manager instance