Package net.minecraftforge.client.event
Class DrawHighlightEvent.HighlightBlock
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.DrawHighlightEvent
-
- net.minecraftforge.client.event.DrawHighlightEvent.HighlightBlock
-
- Enclosing class:
- DrawHighlightEvent
public static class DrawHighlightEvent.HighlightBlock extends DrawHighlightEvent
A variant of the DrawHighlightEvent only called when a block is highlighted.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.DrawHighlightEvent
DrawHighlightEvent.HighlightBlock, DrawHighlightEvent.HighlightEntity
-
-
Constructor Summary
Constructors Constructor Description HighlightBlock(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockRayTraceResult
getTarget()
-
Methods inherited from class net.minecraftforge.client.event.DrawHighlightEvent
getBuffers, getContext, getInfo, getMatrix, getPartialTicks
-
-
-
-
Constructor Detail
-
HighlightBlock
public HighlightBlock(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
-
-
Method Detail
-
getTarget
public BlockRayTraceResult getTarget()
- Overrides:
getTarget
in classDrawHighlightEvent
-
-