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

public static class FossilCleanerEvent.ObtainingCleanFossil extends 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.
  • 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)