Package net.minecraftforge.client.event
Class DrawSelectionEvent.HighlightBlock
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.DrawSelectionEvent
net.minecraftforge.client.event.DrawSelectionEvent.HighlightBlock
- Enclosing class:
- DrawSelectionEvent
A variant of the DrawSelectionEvent only called when a block is highlighted.
-
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
ConstructorDescriptionHighlightBlock(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
-
HighlightBlock
public HighlightBlock(LevelRenderer context, Camera info, HitResult target, float partialTicks, PoseStack matrix, MultiBufferSource buffers)
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classDrawSelectionEvent
-