public static class TimespaceEvent.PlaceChain extends 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.
TimespaceEvent.PlaceChain, TimespaceEvent.PlaceOrb, TimespaceEvent.Summon, TimespaceEvent.TakeChain, TimespaceEvent.TakeOrb
player
Constructor and Description |
---|
PlaceChain(net.minecraft.entity.player.PlayerEntity player,
TimespaceAltarTileEntity altar,
net.minecraft.item.ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
TimespaceAltarTileEntity |
getAltar() |
net.minecraft.item.ItemStack |
getStack() |
getPlayer
public PlaceChain(net.minecraft.entity.player.PlayerEntity player, TimespaceAltarTileEntity altar, net.minecraft.item.ItemStack stack)
public TimespaceAltarTileEntity getAltar()
public net.minecraft.item.ItemStack getStack()