public static class ArceusEvent.AddPlate extends ArceusEvent
ArceusEvent
subclass event fired for when a player adds one of the elemental plates to the Arc Chalice.
This fired before the action succeeds, but after success is guaranteed.
Cancelling this event will prevent the plate from being put in.
ArceusEvent.AddPlate, ArceusEvent.CreateFlute, ArceusEvent.PlayFlute
Constructor and Description |
---|
AddPlate(net.minecraft.entity.player.EntityPlayerMP player,
TileEntityPlateHolder chalice,
net.minecraft.item.ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
TileEntityPlateHolder |
getChalice() |
EnumPlate |
getPlate()
Gets the
EnumPlate being put into the Arc Chalice. |
net.minecraft.item.ItemStack |
getStack() |
getPlayer, getPlayerUUID
public AddPlate(net.minecraft.entity.player.EntityPlayerMP player, TileEntityPlateHolder chalice, net.minecraft.item.ItemStack stack)
public TileEntityPlateHolder getChalice()
public net.minecraft.item.ItemStack getStack()