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
playerUUID
Constructor and Description |
---|
AddPlate(net.minecraft.entity.player.ServerPlayerEntity player,
ArcChaliceTileEntity chalice,
net.minecraft.item.ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
ArcChaliceTileEntity |
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.ServerPlayerEntity player, ArcChaliceTileEntity chalice, net.minecraft.item.ItemStack stack)
public ArcChaliceTileEntity getChalice()
public net.minecraft.item.ItemStack getStack()