Class FossilMachineEvent.PutFossil
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
com.pixelmonmod.pixelmon.api.events.FossilMachineEvent.PutFossil
- Enclosing class:
- FossilMachineEvent
Event fires when a player puts a fossil on the machine.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
FossilMachineEvent.PutFossil, FossilMachineEvent.PutPokeball, FossilMachineEvent.RemoveFossil, FossilMachineEvent.RemovePokeball
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
ConstructorDescriptionPutFossil
(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.Item fossil, net.minecraft.world.level.block.entity.BlockEntity tileEntity) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
getPlayer, getTileEntity
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
PutFossil
public PutFossil(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.Item fossil, net.minecraft.world.level.block.entity.BlockEntity tileEntity)
-
-
Method Details
-
getFossil
public net.minecraft.world.item.Item getFossil() -
setFossil
public void setFossil(net.minecraft.world.item.Item fossil)
-