Class RegisterRenderPipelinesEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RegisterRenderPipelinesEvent
- All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
public class RegisterRenderPipelinesEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.fml.event.IModBusEvent
Fired to allow mods to register custom pipelines.
This event is fired after the default Minecraft pipelines have been registered.
This event is not cancellable.
This event is fired on the mod-specific event bus, only on the logical client.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegisterRenderPipelinesEvent
(Consumer<com.mojang.blaze3d.pipeline.RenderPipeline> registrar) -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerPipeline
(com.mojang.blaze3d.pipeline.RenderPipeline pipeline) Registers aRenderPipeline
-
Field Details
-
registrar
-
-
Constructor Details
-
RegisterRenderPipelinesEvent
@Internal public RegisterRenderPipelinesEvent(Consumer<com.mojang.blaze3d.pipeline.RenderPipeline> registrar)
-
-
Method Details
-
registerPipeline
public void registerPipeline(com.mojang.blaze3d.pipeline.RenderPipeline pipeline) Registers aRenderPipeline
- Parameters:
pipeline
- a pipeline
-