Class PartOverlayRendererRegistry
java.lang.Object
org.cyclops.integrateddynamics.client.render.part.PartOverlayRendererRegistry
- All Implemented Interfaces:
org.cyclops.cyclopscore.init.IRegistry
,IPartOverlayRendererRegistry
public final class PartOverlayRendererRegistry
extends Object
implements IPartOverlayRendererRegistry
Registry for
IPartOverlayRenderer
.-
Method Summary
Modifier and TypeMethodDescriptionstatic PartOverlayRendererRegistry
getRenderers
(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
-
getInstance
- Returns:
- The unique instance.
-
register
Description copied from interface:IPartOverlayRendererRegistry
Register a new renderer for the given part type. Multiple renderers can be added per part type.- Specified by:
register
in interfaceIPartOverlayRendererRegistry
- Type Parameters:
R
- The renderer type.- Parameters:
partType
- The part typerenderer
- The renderer.- Returns:
- The registered renderer.
-
getRenderers
Description copied from interface:IPartOverlayRendererRegistry
Get all part overlay renderers for the given part type.- Specified by:
getRenderers
in interfaceIPartOverlayRendererRegistry
- Parameters:
partType
- The part type- Returns:
- All registered renderers.
-