public abstract class MysteryBoxEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Class and Description |
---|---|
static class |
MysteryBoxEvent.Activate |
static class |
MysteryBoxEvent.ComparatorPower |
static class |
MysteryBoxEvent.Feed |
static class |
MysteryBoxEvent.Open |
static class |
MysteryBoxEvent.Tick |
Modifier | Constructor and Description |
---|---|
protected |
MysteryBoxEvent(MysteryBoxTileEntity box,
net.minecraft.block.BlockState blockState)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
net.minecraft.block.BlockState |
getBlockState()
Gets the block state associated with the Mystery Box associated with this event.
|
MysteryBoxTileEntity |
getBox()
Gets the Mystery Box tile entity associated with this event.
|
protected MysteryBoxEvent(MysteryBoxTileEntity box, net.minecraft.block.BlockState blockState)
box
- The Mystery Box tile entity.blockState
- The block state of this Mystery Box.public MysteryBoxTileEntity getBox()
public net.minecraft.block.BlockState getBlockState()