public static class TimespaceEvent.PlaceOrb extends 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.
TimespaceEvent.PlaceChain, TimespaceEvent.PlaceOrb, TimespaceEvent.Summon, TimespaceEvent.TakeChain, TimespaceEvent.TakeOrbplayer| Constructor and Description |
|---|
PlaceOrb(net.minecraft.entity.player.PlayerEntity player,
TimespaceAltarTileEntity altar,
net.minecraft.item.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
TimespaceAltarTileEntity |
getAltar() |
TimespaceOrbItem |
getOrb()
Gets the
TimespaceOrbItem being put into the Timespace Altar. |
net.minecraft.item.ItemStack |
getStack() |
getPlayerpublic PlaceOrb(net.minecraft.entity.player.PlayerEntity player,
TimespaceAltarTileEntity altar,
net.minecraft.item.ItemStack stack)
public TimespaceOrbItem getOrb()
TimespaceOrbItem being put into the Timespace Altar.public TimespaceAltarTileEntity getAltar()
public net.minecraft.item.ItemStack getStack()