public static class ArceusEvent.PlayFlute extends ArceusEvent
ArceusEvent subclass event that fires when an Azure Flute is played near a Timespace Altar.
Tip: By modifying TileEntityTimespaceAltar.summoningShiny through
getAltar(), you can change whether the shown Arceus is shiny.
Cancelling this event will prevent any action occurring from using the flute.
ArceusEvent.AddPlate, ArceusEvent.CreateFlute, ArceusEvent.PlayFlute| Constructor and Description |
|---|
PlayFlute(net.minecraft.entity.player.EntityPlayerMP player,
net.minecraft.item.ItemStack azureFlute,
TileEntityTimespaceAltar altar) |
| Modifier and Type | Method and Description |
|---|---|
TileEntityTimespaceAltar |
getAltar() |
net.minecraft.item.ItemStack |
getAzureFlute() |
getPlayer, getPlayerUUIDpublic PlayFlute(net.minecraft.entity.player.EntityPlayerMP player,
net.minecraft.item.ItemStack azureFlute,
TileEntityTimespaceAltar altar)
public net.minecraft.item.ItemStack getAzureFlute()
public TileEntityTimespaceAltar getAltar()