public class RenderBlockOverlayEvent extends Event
Modifier and Type | Class and Description |
---|---|
static class |
RenderBlockOverlayEvent.OverlayType |
Event.HasResult, Event.Result
Constructor and Description |
---|
RenderBlockOverlayEvent(EntityPlayer player,
float renderPartialTicks,
RenderBlockOverlayEvent.OverlayType type,
Block block,
int x,
int y,
int z)
Deprecated.
|
RenderBlockOverlayEvent(EntityPlayer player,
float renderPartialTicks,
RenderBlockOverlayEvent.OverlayType type,
IBlockState block,
BlockPos blockPos) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
getBlockForOverlay()
If the overlay type is BLOCK, then this is the block which the overlay is getting it's icon from
|
BlockPos |
getBlockPos() |
RenderBlockOverlayEvent.OverlayType |
getOverlayType()
The type of overlay to occur
|
EntityPlayer |
getPlayer()
The player which the overlay will apply to
|
float |
getRenderPartialTicks() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
@Deprecated public RenderBlockOverlayEvent(EntityPlayer player, float renderPartialTicks, RenderBlockOverlayEvent.OverlayType type, Block block, int x, int y, int z)
public RenderBlockOverlayEvent(EntityPlayer player, float renderPartialTicks, RenderBlockOverlayEvent.OverlayType type, IBlockState block, BlockPos blockPos)
public EntityPlayer getPlayer()
public float getRenderPartialTicks()
public RenderBlockOverlayEvent.OverlayType getOverlayType()
public IBlockState getBlockForOverlay()
public BlockPos getBlockPos()