Class TimespaceEvent.PlaceOrb
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent
com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent.PlaceOrb
- Enclosing class:
- TimespaceEvent
TimespaceEvent
subclass event fired when a player places a Timespace Orb in a Timespace Altar.
This fired before the action succeeds, but after success is guaranteed.
Cancelling this event will prevent the Timespace Orb from being put in.
- Since:
- October 19th, 2019
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent
TimespaceEvent.PlaceChain, TimespaceEvent.PlaceOrb, TimespaceEvent.Summon, TimespaceEvent.TakeChain, TimespaceEvent.TakeOrb
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent
player
-
Constructor Summary
ConstructorDescriptionPlaceOrb
(net.minecraft.world.entity.player.Player player, TimespaceAltarTileEntity altar, net.minecraft.world.item.ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptiongetAltar()
getOrb()
Gets theTimespaceOrbItem
being put into the Timespace Altar.net.minecraft.world.item.ItemStack
getStack()
Methods inherited from class com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent
getPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
PlaceOrb
public PlaceOrb(net.minecraft.world.entity.player.Player player, TimespaceAltarTileEntity altar, net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
getOrb
Gets theTimespaceOrbItem
being put into the Timespace Altar. -
getAltar
-
getStack
public net.minecraft.world.item.ItemStack getStack()
-