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
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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionHighlightBlock
(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.DrawHighlightEvent
getBuffers, getContext, getInfo, getMatrix, getPartialTicks
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
HighlightBlock
public HighlightBlock(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classDrawHighlightEvent
-