Interface Resourced

All Known Subinterfaces:
ContainerManagedPlugin, ModuleDescriptor<T>, Plugin
All Known Implementing Classes:
DummyPlugin, Resources

public interface Resourced
  • Method Details

    • getResourceDescriptors

      List<ResourceDescriptor> getResourceDescriptors()
      Get a List of all the descriptors .

      Note: since 2.2 this list must be immutable, previously modifying this list could modify the underlying list.

      Returns:
      all resource descriptors this object supports.
    • getResourceDescriptor

      ResourceDescriptor getResourceDescriptor(String type, String name)
      Get a ResourceDescriptor of a particular type and name.
      Returns:
      the specified resource descriptor if found, null otherwise.
    • getResourceLocation

      ResourceLocation getResourceLocation(String type, String name)
      Get a ResourceLocation of a particular type and name.
      Returns:
      the specified resource location if found, null otherwise.