public static class TimespaceEvent.TakeOrb extends TimespaceEvent
TimespaceEvent
subclass event fired when a player takes a Timespace Orb from a Timespace Altar.
This fired before the action succeeds, but after success is guaranteed.
Cancelling this event will prevent the Timespace Orb from being taken out.
TimespaceEvent.PlaceChain, TimespaceEvent.PlaceOrb, TimespaceEvent.Summon, TimespaceEvent.TakeChain, TimespaceEvent.TakeOrb
Constructor and Description |
---|
TakeOrb(net.minecraft.entity.player.EntityPlayer player,
TileEntityTimespaceAltar altar,
net.minecraft.item.ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
TileEntityTimespaceAltar |
getAltar() |
ItemTimespaceOrb |
getOrb()
Gets the
ItemTimespaceOrb being taken from the Timespace Altar. |
net.minecraft.item.ItemStack |
getStack() |
getPlayer
public TakeOrb(net.minecraft.entity.player.EntityPlayer player, TileEntityTimespaceAltar altar, net.minecraft.item.ItemStack stack)
public ItemTimespaceOrb getOrb()
ItemTimespaceOrb
being taken from the Timespace Altar.public TileEntityTimespaceAltar getAltar()
public net.minecraft.item.ItemStack getStack()