java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent
Direct Known Subclasses:
ArceusEvent.AddPlate, ArceusEvent.CreateFlute, ArceusEvent.PlayFlute

public abstract class ArceusEvent extends net.minecraftforge.eventbus.api.Event
Superclass event for actions related to the Arceus legendary event.

Subclasses: ArceusEvent.AddPlate, ArceusEvent.CreateFlute, ArceusEvent.PlayFlute

Since:
May 17th, 2018
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    ArceusEvent subclass event fired for when a player adds one of the elemental plates to the Arc Chalice.
    static class 
    ArceusEvent subclass event fired when the Arc Chalice animation completes and the Azure Flute item is about to be spawned into the world.
    static class 
    ArceusEvent subclass event that fires when an Azure Flute is played near a Timespace Altar.

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected UUID
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArceusEvent(UUID playerUUID)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.server.level.ServerPlayer
    Gets the player based off playerUUID.
     

    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
  • Field Details

    • playerUUID

      protected UUID playerUUID
  • Constructor Details

    • ArceusEvent

      public ArceusEvent(UUID playerUUID)
  • Method Details

    • getPlayer

      @Nullable public net.minecraft.server.level.ServerPlayer getPlayer()
      Gets the player based off playerUUID. Could be null in some cases where the player is offline.
    • getPlayerUUID

      public UUID getPlayerUUID()