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