Class MysteryBoxEvent.Tick
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent
com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent.Tick
- Direct Known Subclasses:
MysteryBoxEvent.Tick.AboutToClose
,MysteryBoxEvent.Tick.DoSpawn
,MysteryBoxEvent.Tick.Start
,MysteryBoxEvent.Tick.TrySpawn
- Enclosing class:
- MysteryBoxEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent
MysteryBoxEvent.Activate, MysteryBoxEvent.ComparatorPower, MysteryBoxEvent.Feed, MysteryBoxEvent.Open, MysteryBoxEvent.Tick
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ModifierConstructorDescriptionprotected
Tick
(MysteryBoxTileEntity box, net.minecraft.world.level.block.state.BlockState blockState) MysteryBoxEvent.Tick base constructor. -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent
getBlockState, getBox
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Tick
protected Tick(MysteryBoxTileEntity box, net.minecraft.world.level.block.state.BlockState blockState) MysteryBoxEvent.Tick base constructor.- Parameters:
box
- The Mystery Box tile entity.blockState
- The block state of this Mystery Box.
-