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.
|
Modifier and Type | Field and Description |
---|---|
private IRenderTypeBuffer |
buffers |
private WorldRenderer |
context |
private ActiveRenderInfo |
info |
private MatrixStack |
matrix |
private float |
partialTicks |
private RayTraceResult |
target |
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() |
private final WorldRenderer context
private final ActiveRenderInfo info
private final RayTraceResult target
private final float partialTicks
private final MatrixStack matrix
private final IRenderTypeBuffer buffers
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()