public interface IShearable
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isShearable(ItemStack item,
           IBlockAccess world,
           BlockPos pos)
Checks if the object is currently shearable
 Example: Sheep return false when they have no wool 
 | 
java.util.List<ItemStack> | 
onSheared(ItemStack item,
         IBlockAccess world,
         BlockPos pos,
         int fortune)
Performs the shear function on this object. 
 | 
boolean isShearable(ItemStack item, IBlockAccess world, BlockPos pos)
item - The ItemStack that is being used, may be empty.world - The current world.pos - Block's position in world.java.util.List<ItemStack> onSheared(ItemStack item, IBlockAccess world, BlockPos pos, int fortune)
item - The ItemStack that is being used, may be empty.world - The current world.pos - If this is a block, the block's position in world.fortune - The fortune level of the shears being used.