Class FossilCleanerEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FossilCleanerEvent
Direct Known Subclasses:
FossilCleanerEvent.ObtainingCleanFossil, FossilCleanerEvent.PutFossil

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Event that is triggered when a player wants to collect a clean fossil from the machine.
    static class 
    Event fires when a player puts a fossil in 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.world.item.Item
     
    net.minecraft.server.level.ServerPlayer
     
    net.minecraft.world.level.block.entity.BlockEntity
     
    void
    setFossil(net.minecraft.world.item.Item fossil)
     

    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

    • getFossil

      public net.minecraft.world.item.Item getFossil()
    • setFossil

      public void setFossil(net.minecraft.world.item.Item fossil)
    • getPlayer

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

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