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
Modifier and TypeClassDescriptionstatic 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 TypeMethodDescriptionnet.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
-
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()
-