public class DrawBlockHighlightEvent extends Event
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private RenderGlobal |
context |
private float |
partialTicks |
private EntityPlayer |
player |
private int |
subID |
private RayTraceResult |
target |
Constructor and Description |
---|
DrawBlockHighlightEvent(RenderGlobal context,
EntityPlayer player,
RayTraceResult target,
int subID,
float partialTicks) |
Modifier and Type | Method and Description |
---|---|
RenderGlobal |
getContext() |
float |
getPartialTicks() |
EntityPlayer |
getPlayer() |
int |
getSubID() |
RayTraceResult |
getTarget() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final RenderGlobal context
private final EntityPlayer player
private final RayTraceResult target
private final int subID
private final float partialTicks
public DrawBlockHighlightEvent(RenderGlobal context, EntityPlayer player, RayTraceResult target, int subID, float partialTicks)
public RenderGlobal getContext()
public EntityPlayer getPlayer()
public RayTraceResult getTarget()
public int getSubID()
public float getPartialTicks()