public interface IShearable
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isShearable(ItemStack item,
                      World world,
                      int x,
                      int y,
                      int z)
Checks if the object is currently shearable
 Example: Sheep return false when they have no wool 
 | 
ArrayList<ItemStack> | 
onSheared(ItemStack item,
                  World world,
                  int x,
                  int y,
                  int z,
                  int fortune)
Performs the shear function on this object. 
 | 
boolean isShearable(ItemStack item, World world, int x, int y, int z)
item - The itemstack that is being used, Possible to be nullworld - The current worldx - The X Positiony - The Y Positionz - The Z PositionArrayList<ItemStack> onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
item - The itemstack that is being used, Possible to be nullworld - The current worldx - The X Positiony - The Y Positionz - The Z Positionfortune - The fortune level of the shears being used