Class CustomDropsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.drops.CustomDropsEvent
- Direct Known Subclasses:
CustomDropsEvent.ClickButton
,CustomDropsEvent.ClickDrop
,CustomDropsEvent.CloseScreen
public class CustomDropsEvent
extends net.minecraftforge.eventbus.api.Event
Sub classes are fired on the
Pixelmon.EVENT_BUS
in response to a CustomDropScreenFactory
action
Created by Jay113355 on 6/16/2020.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
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
CustomDropsEvent
(String mnemonic, net.minecraft.server.level.ServerPlayer player) -
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
-
Constructor Details
-
CustomDropsEvent
-
-
Method Details
-
getMnemonic
-
getPlayer
public net.minecraft.server.level.ServerPlayer getPlayer()
-