Class MysteryBoxEvent.Tick.AboutToClose
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent
com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent.Tick
com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent.Tick.AboutToClose
- Enclosing class:
- MysteryBoxEvent.Tick
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.blocks.MysteryBoxEvent.Tick
MysteryBoxEvent.Tick.AboutToClose, MysteryBoxEvent.Tick.DoSpawn, MysteryBoxEvent.Tick.Start, MysteryBoxEvent.Tick.TrySpawn
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
ConstructorDescriptionAboutToClose
(MysteryBoxTileEntity box, net.minecraft.world.level.block.state.BlockState blockState) Fired before a Mystery Box is going to close. -
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
-
AboutToClose
public AboutToClose(MysteryBoxTileEntity box, net.minecraft.world.level.block.state.BlockState blockState) Fired before a Mystery Box is going to close. Cancelable.- Parameters:
box
- The Mystery Box tile entity.blockState
- The block state of this Mystery Box.
-