Class FossilMachineEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
- Direct Known Subclasses:
FossilMachineEvent.PutFossil
,FossilMachineEvent.PutPokeball
,FossilMachineEvent.RemoveFossil
,FossilMachineEvent.RemovePokeball
public abstract class FossilMachineEvent
extends net.minecraftforge.eventbus.api.Event
Superclass event for actions related to the Fossil Machine
- Since:
- July 24, 2021
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Event fires when a player puts a fossil on the machine.static class
Event fires when a player puts a pokeball on the machine.static class
Event fires when a player remove fossils from the machine.static class
Event fires when a player remove a pokeball of 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.server.level.ServerPlayer
net.minecraft.world.level.block.entity.BlockEntity
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Method Details
-
getPlayer
public net.minecraft.server.level.ServerPlayer getPlayer() -
getTileEntity
public net.minecraft.world.level.block.entity.BlockEntity getTileEntity()
-