Class ForcesOfNatureFormChange
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.formChanges.ForcesOfNatureFormChange
- All Implemented Interfaces:
IFormChange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(PixelmonEntity pixelmon, net.minecraft.world.item.ItemStack stack, net.minecraft.server.level.ServerPlayer player) boolean
isValidItem
(net.minecraft.world.item.ItemStack stack) boolean
isValidPokemon
(PixelmonEntity pixelmon)
-
Constructor Details
-
ForcesOfNatureFormChange
public ForcesOfNatureFormChange()
-
-
Method Details
-
isValidItem
public boolean isValidItem(net.minecraft.world.item.ItemStack stack) - Specified by:
isValidItem
in interfaceIFormChange
-
isValidPokemon
- Specified by:
isValidPokemon
in interfaceIFormChange
-
execute
public boolean execute(PixelmonEntity pixelmon, net.minecraft.world.item.ItemStack stack, net.minecraft.server.level.ServerPlayer player) - Specified by:
execute
in interfaceIFormChange
-