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
-
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
ConstructorDescriptionRemove
(net.minecraft.server.level.ServerPlayer player, boolean custom, int index) -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
net.minecraft.world.item.ItemStack
getStack()
Will return null ifBadgeCaseEvent.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
-
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 ifBadgeCaseEvent.isCustom()
is false.
-