public class RenderBlockOverlayEvent extends Event
修飾子とタイプ | クラスと説明 |
---|---|
static class |
RenderBlockOverlayEvent.OverlayType |
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
RenderBlockOverlayEvent(PlayerEntity player,
com.mojang.blaze3d.matrix.MatrixStack mat,
RenderBlockOverlayEvent.OverlayType type,
BlockState block,
BlockPos blockPos) |
修飾子とタイプ | メソッドと説明 |
---|---|
BlockState |
getBlockForOverlay()
If the overlay type is BLOCK, then this is the block which the overlay is getting it's icon from
|
BlockPos |
getBlockPos() |
com.mojang.blaze3d.matrix.MatrixStack |
getMatrixStack() |
RenderBlockOverlayEvent.OverlayType |
getOverlayType()
The type of overlay to occur
|
PlayerEntity |
getPlayer()
The player which the overlay will apply to
|
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public RenderBlockOverlayEvent(PlayerEntity player, com.mojang.blaze3d.matrix.MatrixStack mat, RenderBlockOverlayEvent.OverlayType type, BlockState block, BlockPos blockPos)
public PlayerEntity getPlayer()
public com.mojang.blaze3d.matrix.MatrixStack getMatrixStack()
public RenderBlockOverlayEvent.OverlayType getOverlayType()
public BlockState getBlockForOverlay()
public BlockPos getBlockPos()