Class ArceusEvent.AddPlate
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent
com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent.AddPlate
- Enclosing class:
- 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.
- Since:
- May 17, 2018
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent
ArceusEvent.AddPlate, ArceusEvent.CreateFlute, ArceusEvent.PlayFlute
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent
playerUUID
-
Constructor Summary
ConstructorDescriptionAddPlate
(net.minecraft.server.level.ServerPlayer player, ArcChaliceTileEntity chalice, net.minecraft.world.item.ItemStack stack) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.legendary.ArceusEvent
getPlayer, getPlayerUUID
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
AddPlate
public AddPlate(net.minecraft.server.level.ServerPlayer player, ArcChaliceTileEntity chalice, net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
getPlate
Gets theEnumPlate
being put into the Arc Chalice. -
getChalice
-
getStack
public net.minecraft.world.item.ItemStack getStack()
-