From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../net/minecraft/entity/passive/EntitySheep.html | 875 +++++++++++++++++++++ 1 file changed, 875 insertions(+) create mode 100644 javadoc/net/minecraft/entity/passive/EntitySheep.html (limited to 'javadoc/net/minecraft/entity/passive/EntitySheep.html') diff --git a/javadoc/net/minecraft/entity/passive/EntitySheep.html b/javadoc/net/minecraft/entity/passive/EntitySheep.html new file mode 100644 index 0000000..e165b12 --- /dev/null +++ b/javadoc/net/minecraft/entity/passive/EntitySheep.html @@ -0,0 +1,875 @@ + + + + + +EntitySheep (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.entity.passive
+

Class EntitySheep

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        fleeceColorTable

        +
        public static final float[][] fleeceColorTable
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntitySheep

        +
        public EntitySheep(World p_i1691_1_)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        dropFewItems

        +
        protected void dropFewItems(boolean p_70628_1_,
        +                int p_70628_2_)
        +
        +
        Overrides:
        +
        dropFewItems in class EntityLiving
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        func_70894_j

        +
        public float func_70894_j(float p_70894_1_)
        +
      • +
      + + + +
        +
      • +

        func_70890_k

        +
        public float func_70890_k(float p_70890_1_)
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        func_145780_a

        +
        protected void func_145780_a(int p_145780_1_,
        +                 int p_145780_2_,
        +                 int p_145780_3_,
        +                 Block p_145780_4_)
        +
        +
        Overrides:
        +
        func_145780_a in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        getFleeceColor

        +
        public int getFleeceColor()
        +
      • +
      + + + +
        +
      • +

        setFleeceColor

        +
        public void setFleeceColor(int p_70891_1_)
        +
      • +
      + + + +
        +
      • +

        getSheared

        +
        public boolean getSheared()
        +
      • +
      + + + +
        +
      • +

        setSheared

        +
        public void setSheared(boolean p_70893_1_)
        +
      • +
      + + + +
        +
      • +

        getRandomFleeceColor

        +
        public static int getRandomFleeceColor(java.util.Random p_70895_0_)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        isShearable

        +
        public boolean isShearable(ItemStack item,
        +                  IBlockAccess world,
        +                  int x,
        +                  int y,
        +                  int z)
        +
        Description copied from interface: IShearable
        +
        Checks if the object is currently shearable + Example: Sheep return false when they have no wool
        +
        +
        Specified by:
        +
        isShearable in interface IShearable
        +
        Parameters:
        item - The itemstack that is being used, Possible to be null
        world - The current world
        x - The X Position
        y - The Y Position
        z - The Z Position
        +
        Returns:
        If this is shearable, and onSheared should be called.
        +
      • +
      + + + +
        +
      • +

        onSheared

        +
        public java.util.ArrayList<ItemStack> onSheared(ItemStack item,
        +                                       IBlockAccess world,
        +                                       int x,
        +                                       int y,
        +                                       int z,
        +                                       int fortune)
        +
        Description copied from interface: IShearable
        +
        Performs the shear function on this object. + This is called for both client, and server. + The object should perform all actions related to being sheared, + except for dropping of the items, and removal of the block. + As those are handled by ItemShears itself. + + Returns a list of items that resulted from the shearing process. + + For entities, they should trust there internal location information + over the values passed into this function.
        +
        +
        Specified by:
        +
        onSheared in interface IShearable
        +
        Parameters:
        item - The itemstack that is being used, Possible to be null
        world - The current world
        x - The X Position
        y - The Y Position
        z - The Z Position
        fortune - The fortune level of the shears being used
        +
        Returns:
        A ArrayList containing all items from this shearing. Possible to be null.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3