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 context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.DrawSelectionEvent
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(LevelRenderer context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classDrawSelectionEvent
-