Class RenderHighlightEvent.Block

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderHighlightEvent
net.neoforged.neoforge.client.event.RenderHighlightEvent.Block
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
RenderHighlightEvent

public static class RenderHighlightEvent.Block extends RenderHighlightEvent implements net.neoforged.bus.api.ICancellableEvent
Fired before a block's selection highlight is rendered.

This event is cancellable, and does not

invalid reference
have a result
. If the event is cancelled, then the selection highlight will not be rendered.

This event is fired on the main Forge event bus, only on the logical client.