Class RegisterEntitySpectatorShadersEvent

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

public class RegisterEntitySpectatorShadersEvent extends net.neoforged.bus.api.Event implements net.neoforged.fml.event.IModBusEvent
Allows users to register custom shaders to be used when the player spectates a certain kind of entity. Vanilla examples of this are the green effect for creepers and the invert effect for endermen.

This event is not cancellable, and does not

invalid reference
have a result
.

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