Class BadgeCaseEvent.Swap
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent
com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent.Swap
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
BadgeCaseEvent
public static class BadgeCaseEvent.Swap
extends BadgeCaseEvent
implements net.neoforged.bus.api.ICancellableEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent
BadgeCaseEvent.Register, BadgeCaseEvent.Remove, BadgeCaseEvent.Swap
-
Constructor Summary
ConstructorsConstructorDescriptionSwap
(net.minecraft.server.level.ServerPlayer player, int index1, int index2) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.screens.BadgeCaseEvent
getPlayer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Swap
public Swap(net.minecraft.server.level.ServerPlayer player, int index1, int index2)
-
-
Method Details
-
getIndex1
public int getIndex1() -
getIndex2
public int getIndex2()
-