Class ShrineOrbFillEvent.Pre

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

public static class ShrineOrbFillEvent.Pre extends ShrineOrbFillEvent
Fired just before the orb is filled.
Canceling this event will prevent the orb from being filled.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.legendary.ShrineOrbFillEvent

    ShrineOrbFillEvent.Post, ShrineOrbFillEvent.Pre

    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 inherited from class com.pixelmonmod.pixelmon.api.events.legendary.ShrineOrbFillEvent

    filled, orb, player
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pre(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack orb, boolean filled)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class com.pixelmonmod.pixelmon.api.events.legendary.ShrineOrbFillEvent

    getOrb, getPlayer, isFilled

    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

    • Pre

      public Pre(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack orb, boolean filled)
  • Method Details