Class RegisterShadersEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RegisterShadersEvent
All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent

public class RegisterShadersEvent extends net.neoforged.bus.api.Event implements net.neoforged.fml.event.IModBusEvent
Fired to allow mods to register custom shaders. This event is fired after the default Minecraft shaders have been registered.

This event is not cancellable.

This event is fired on the mod-specific event bus, only on the logical client.

  • Field Details

  • Constructor Details

    • RegisterShadersEvent

      @Internal public RegisterShadersEvent(List<ShaderProgram> shaderList)
  • Method Details