Class BadgeCaseEvent.Remove

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent
com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent.Remove
Enclosing class:
BadgeCaseEvent

public static class BadgeCaseEvent.Remove extends BadgeCaseEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent

    BadgeCaseEvent.Register, BadgeCaseEvent.Remove, BadgeCaseEvent.Swap

    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
    Constructor
    Description
    Remove(net.minecraft.server.level.ServerPlayer player, boolean custom, int index)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    net.minecraft.world.item.ItemStack
    Will return null if BadgeCaseEvent.isCustom() is false.

    Methods inherited from class com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent

    getPlayer, isCustom

    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

    • Remove

      public Remove(net.minecraft.server.level.ServerPlayer player, boolean custom, int index)
  • Method Details

    • getIndex

      public int getIndex()
    • getStack

      @Nullable public net.minecraft.world.item.ItemStack getStack()
      Will return null if BadgeCaseEvent.isCustom() is false.