package net.machinemuse.api.moduletrigger;

import net.machinemuse.api.IPowerModule;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public interface IRightClickModule extends IPowerModule {
    void onRightClick(EntityPlayer playerClicking, World world, ItemStack item);

    void onItemUse(
            ItemStack itemStack, EntityPlayer player, World world,
            int x, int y, int z,
            int side, float hitX, float hitY, float hitZ);

    boolean onItemUseFirst(
            ItemStack itemStack, EntityPlayer player, World world,
            int x, int y, int z,
            int side, float hitX, float hitY, float hitZ);

    void onPlayerStoppedUsing(ItemStack itemStack, World world, EntityPlayer player, int par4);
}
