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 Summary
Modifier and TypeMethodDescriptiongetRenderers
(IPartType<?, ?> partType) Get all part overlay renderers for the given part type.<R extends IPartOverlayRenderer>
RRegister a new renderer for the given part type.
-
Method Details
-
register
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 typerenderer
- The renderer.- Returns:
- The registered renderer.
-
getRenderers
Get all part overlay renderers for the given part type.- Parameters:
partType
- The part type- Returns:
- All registered renderers.
-