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
public static class DrawHighlightEvent.HighlightEntity extends 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
-
-
Constructor Summary
Constructors Constructor Description HighlightEntity(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 EntityRayTraceResult
getTarget()
-
Methods inherited from class net.minecraftforge.client.event.DrawHighlightEvent
getBuffers, getContext, getInfo, getMatrix, getPartialTicks
-
-
-
-
Constructor Detail
-
HighlightEntity
public HighlightEntity(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
-
-
Method Detail
-
getTarget
public EntityRayTraceResult getTarget()
- Overrides:
getTarget
in classDrawHighlightEvent
-
-