Class TimespaceEvent.PlaceChain
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent
com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent.PlaceChain
- Enclosing class:
- TimespaceEvent
TimespaceEvent
subclass event fired when a player places a Red Chain in a Timespace Altar.
This fired before the action succeeds, but after success is guaranteed.
Cancelling this event will prevent the Red Chain 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
ConstructorDescriptionPlaceChain
(net.minecraft.world.entity.player.Player player, TimespaceAltarTileEntity altar, net.minecraft.world.item.ItemStack stack) -
Method Summary
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
-
PlaceChain
public PlaceChain(net.minecraft.world.entity.player.Player player, TimespaceAltarTileEntity altar, net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
getAltar
-
getStack
public net.minecraft.world.item.ItemStack getStack()
-