public class ShearInteraction extends PixelmonInteraction
Modifier and Type | Field and Description |
---|---|
static java.util.Map<net.minecraft.item.DyeColor,java.lang.String> |
PALETTES |
static java.util.Map<java.lang.String,net.minecraft.block.Block> |
WOOLS |
counter, maxInteractions
Constructor and Description |
---|
ShearInteraction()
Initializes the interaction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processInteract(AbstractBaseEntity pixelmon,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack stack)
Handles a player interacting with the Pokémon.
|
getInteraction, resetCounter
public static final java.util.Map<java.lang.String,net.minecraft.block.Block> WOOLS
public static final java.util.Map<net.minecraft.item.DyeColor,java.lang.String> PALETTES
public boolean processInteract(AbstractBaseEntity pixelmon, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.item.ItemStack stack)
PixelmonInteraction
processInteract
in class PixelmonInteraction
player
- The player interacting with the Pokémon.