Class ArceusEvent.AddPlate

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent
com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent.AddPlate
Enclosing class:
ArceusEvent

public static class ArceusEvent.AddPlate extends ArceusEvent
ArceusEvent subclass event fired for when a player adds one of the elemental plates to the Arc Chalice. This fired before the action succeeds, but after success is guaranteed.

Cancelling this event will prevent the plate from being put in.

Since:
May 17, 2018
  • Constructor Details

    • AddPlate

      public AddPlate(net.minecraft.server.level.ServerPlayer player, ArcChaliceTileEntity chalice, net.minecraft.world.item.ItemStack stack)
  • Method Details

    • getPlate

      public EnumPlate getPlate()
      Gets the EnumPlate being put into the Arc Chalice.
    • getChalice

      public ArcChaliceTileEntity getChalice()
    • getStack

      public net.minecraft.world.item.ItemStack getStack()