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

    Nested Classes
    Modifier and Type
    Class
    Description
    static 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    CustomDropsEvent(String mnemonic, net.minecraft.server.level.ServerPlayer player)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.minecraft.server.level.ServerPlayer
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomDropsEvent

      protected CustomDropsEvent(String mnemonic, net.minecraft.server.level.ServerPlayer player)
  • Method Details

    • getMnemonic

      public String getMnemonic()
    • getPlayer

      public net.minecraft.server.level.ServerPlayer getPlayer()