Package net.minecraftforge.client.event
Class DrawSelectionEvent.HighlightEntity
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.DrawSelectionEvent
net.minecraftforge.client.event.DrawSelectionEvent.HighlightEntity
- Enclosing class:
- DrawSelectionEvent
A variant of the DrawSelectionEvent 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.DrawSelectionEvent
DrawSelectionEvent.HighlightBlock, DrawSelectionEvent.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
(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.DrawSelectionEvent
getCamera, getLevelRenderer, getMultiBufferSource, getPartialTicks, getPoseStack
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(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource)
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classDrawSelectionEvent
-