Class FossilCleanerEvent.ObtainingCleanFossil
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FossilCleanerEvent
com.pixelmonmod.pixelmon.api.events.FossilCleanerEvent.ObtainingCleanFossil
- Enclosing class:
- FossilCleanerEvent
Event that is triggered when a player wants to collect a clean fossil from the machine.
Canceling it prevents the player from picking up the fossil from the machine.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.FossilCleanerEvent
FossilCleanerEvent.ObtainingCleanFossil, FossilCleanerEvent.PutFossil
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionObtainingCleanFossil
(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.item.Item fossil) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.FossilCleanerEvent
getFossil, getPlayer, getTileEntity, setFossil
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
ObtainingCleanFossil
public ObtainingCleanFossil(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.item.Item fossil)
-