Package net.minecraftforge.client.event
Class DrawHighlightEvent.HighlightEntity
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.DrawHighlightEvent
net.minecraftforge.client.event.DrawHighlightEvent.HighlightEntity
- Enclosing class:
- DrawHighlightEvent
A variant of the DrawHighlightEvent only called when an entity is highlighted.
Canceling this event has no effect.
-
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
ConstructorDescriptionHighlightEntity
(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
-
HighlightEntity
public HighlightEntity(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classDrawHighlightEvent
-