Class FossilMachineEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
Direct Known Subclasses:
FossilMachineEvent.PutFossil, FossilMachineEvent.PutPokeball, FossilMachineEvent.RemoveFossil, FossilMachineEvent.RemovePokeball

public abstract class FossilMachineEvent extends net.minecraftforge.eventbus.api.Event
Superclass event for actions related to the Fossil Machine
Since:
July 24, 2021
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Event fires when a player puts a fossil on the machine.
    static class 
    Event fires when a player puts a pokeball on the machine.
    static class 
    Event fires when a player remove fossils from the machine.
    static class 
    Event fires when a player remove a pokeball of the machine.

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

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

    Modifier and Type
    Method
    Description
    net.minecraft.server.level.ServerPlayer
     
    net.minecraft.world.level.block.entity.BlockEntity
     

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

    • getPlayer

      public net.minecraft.server.level.ServerPlayer getPlayer()
    • getTileEntity

      public net.minecraft.world.level.block.entity.BlockEntity getTileEntity()