Added workaround for dispenser logic.

This commit is contained in:
Gunther De Wachter
2017-07-02 06:05:43 +02:00
parent 7398af0e1c
commit 0f86efa3f5
4 changed files with 15 additions and 4 deletions
@@ -30,6 +30,8 @@ import net.minecraft.world.World;
public interface IBlockTool
{
// Workaround for dispenser logic.
EnumActionResult onItemUse( ItemStack is, EntityPlayer p, World w, BlockPos pos, EnumHand hand, EnumFacing side, float hitX, float hitY, float hitZ );
EnumActionResult onItemUse( EntityPlayer p, World w, BlockPos pos, EnumHand hand, EnumFacing side, float hitX, float hitY, float hitZ );