@Environment(value=CLIENT) @FunctionalInterface public static interface WorldRenderEvents.BeforeBlockOutline
Modifier and Type | Method and Description |
---|---|
boolean |
beforeBlockOutline(WorldRenderContext context,
@Nullable net.minecraft.util.hit.HitResult hitResult)
Event signature for
WorldRenderEvents.BEFORE_BLOCK_OUTLINE . |
boolean beforeBlockOutline(WorldRenderContext context, @Nullable @Nullable net.minecraft.util.hit.HitResult hitResult)
WorldRenderEvents.BEFORE_BLOCK_OUTLINE
.context
- Access to state and parameters available during world rendering.hitResult
- The game object currently under the crosshair target.
Normally equivalent to MinecraftClient.crosshairTarget
. Provided for convenience.WorldRenderEvents.BLOCK_OUTLINE
from invoking
and also skips the vanilla block outline render, but has no effect on other subscribers to this event.