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 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
-
HighlightBlock
public HighlightBlock(LevelRenderer levelRenderer, Camera camera, HitResult target, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource)
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classDrawSelectionEvent
-