java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.ShearInteraction

public class ShearInteraction extends PixelmonInteraction
Produces wool when a sheep (mareep) is sheared with shears.
  • Field Details

    • WOOLS

      public static final Map<String,net.minecraft.world.level.block.Block> WOOLS
    • PALETTES

      public static final Map<net.minecraft.world.item.DyeColor,String> PALETTES
  • Constructor Details

    • ShearInteraction

      public ShearInteraction()
      Initializes the interaction.
  • Method Details

    • processInteract

      public boolean processInteract(AbstractBaseEntity pixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack)
      Description copied from class: PixelmonInteraction
      Handles a player interacting with the Pokémon.
      Overrides:
      processInteract in class PixelmonInteraction
      player - The player interacting with the Pokémon.
      Returns:
      Whether the interaction caused something to occur.