Package net.minecraftforge.client.event
Class RenderHighlightEvent.Entity
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderHighlightEvent
net.minecraftforge.client.event.RenderHighlightEvent.Entity
- Enclosing class:
RenderHighlightEvent
Fired before an entity's selection highlight is rendered.
This event is not cancellable, and does not have a result.
This event is fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.RenderHighlightEvent
RenderHighlightEvent.Block, RenderHighlightEvent.Entity
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
ConstructorDescriptionEntity
(LevelRenderer levelRenderer, Camera camera, EntityHitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.RenderHighlightEvent
getCamera, getLevelRenderer, getMultiBufferSource, getPartialTick, getPoseStack
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Entity
@Internal public Entity(LevelRenderer levelRenderer, Camera camera, EntityHitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource)
-
-
Method Details
-
getTarget
Returns the entity hit result.- Overrides:
getTarget
in classRenderHighlightEvent
- Returns:
- the entity hit result
-