public class DrawHighlightEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Class and Description |
---|---|
static class |
DrawHighlightEvent.HighlightBlock
A variant of the DrawBlockHighlightEvent only called when a block is highlighted.
|
static class |
DrawHighlightEvent.HighlightEntity
A variant of the DrawBlockHighlightEvent only called when an entity is highlighted.
|
Constructor and Description |
---|
DrawHighlightEvent(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
float partialTicks,
MatrixStack matrix,
IRenderTypeBuffer buffers) |
Modifier and Type | Method and Description |
---|---|
IRenderTypeBuffer |
getBuffers() |
WorldRenderer |
getContext() |
ActiveRenderInfo |
getInfo() |
MatrixStack |
getMatrix() |
float |
getPartialTicks() |
RayTraceResult |
getTarget() |
public DrawHighlightEvent(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, MatrixStack matrix, IRenderTypeBuffer buffers)
public WorldRenderer getContext()
public ActiveRenderInfo getInfo()
public RayTraceResult getTarget()
public float getPartialTicks()
public MatrixStack getMatrix()
public IRenderTypeBuffer getBuffers()