Class PlayerCloseStorageEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.storage.event.PlayerCloseStorageEvent
public class PlayerCloseStorageEvent
extends net.minecraftforge.eventbus.api.Event
This event is fired when a player closes a storage screen.
It is fired on the
It is not cancelable and does not have a result.
It is fired on the
Pixelmon.EVENT_BUS
.
It is not cancelable and does not have a result.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprotected final net.minecraft.server.level.ServerPlayer
protected final PokemonStorage
-
Constructor Summary
ConstructorDescriptionPlayerCloseStorageEvent
(net.minecraft.server.level.ServerPlayer player, PokemonStorage storage) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.server.level.ServerPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
protected final net.minecraft.server.level.ServerPlayer player -
storage
-
-
Constructor Details
-
PlayerCloseStorageEvent
public PlayerCloseStorageEvent(net.minecraft.server.level.ServerPlayer player, PokemonStorage storage)
-
-
Method Details
-
getPlayer
public net.minecraft.server.level.ServerPlayer getPlayer() -
getStorage
-