Class TimespaceEvent.PlaceChain

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent
com.pixelmonmod.pixelmon.api.events.legendary.TimespaceEvent.PlaceChain
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
TimespaceEvent

public static class TimespaceEvent.PlaceChain extends TimespaceEvent implements net.neoforged.bus.api.ICancellableEvent
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
  • Constructor Details

    • PlaceChain

      public PlaceChain(net.minecraft.world.entity.player.Player player, TimespaceAltarTileEntity altar, net.minecraft.world.item.ItemStack stack)
  • Method Details