Interface IPartOverlayRendererRegistry

All Superinterfaces:
org.cyclops.cyclopscore.init.IRegistry
All Known Implementing Classes:
PartOverlayRendererRegistry

public interface IPartOverlayRendererRegistry extends org.cyclops.cyclopscore.init.IRegistry
Registry for IPartOverlayRenderer.
  • Method Details

    • register

      <R extends IPartOverlayRenderer> R register(IPartType<?,?> partType, R renderer)
      Register a new renderer for the given part type. Multiple renderers can be added per part type.
      Type Parameters:
      R - The renderer type.
      Parameters:
      partType - The part type
      renderer - The renderer.
      Returns:
      The registered renderer.
    • getRenderers

      Collection<IPartOverlayRenderer> getRenderers(IPartType<?,?> partType)
      Get all part overlay renderers for the given part type.
      Parameters:
      partType - The part type
      Returns:
      All registered renderers.