public class DrawHighlightEvent extends Event
修飾子とタイプ | クラスと説明 |
---|---|
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.
|
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
DrawHighlightEvent(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
float partialTicks,
com.mojang.blaze3d.matrix.MatrixStack matrix,
IRenderTypeBuffer buffers) |
修飾子とタイプ | メソッドと説明 |
---|---|
IRenderTypeBuffer |
getBuffers() |
WorldRenderer |
getContext() |
ActiveRenderInfo |
getInfo() |
com.mojang.blaze3d.matrix.MatrixStack |
getMatrix() |
float |
getPartialTicks() |
RayTraceResult |
getTarget() |
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public DrawHighlightEvent(WorldRenderer context, ActiveRenderInfo info, RayTraceResult target, float partialTicks, com.mojang.blaze3d.matrix.MatrixStack matrix, IRenderTypeBuffer buffers)
public WorldRenderer getContext()
public ActiveRenderInfo getInfo()
public RayTraceResult getTarget()
public float getPartialTicks()
public com.mojang.blaze3d.matrix.MatrixStack getMatrix()
public IRenderTypeBuffer getBuffers()