From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../minecraft/entity/passive/EntityMooshroom.html | 488 +++++++++++++++++++++ 1 file changed, 488 insertions(+) create mode 100644 javadoc/net/minecraft/entity/passive/EntityMooshroom.html (limited to 'javadoc/net/minecraft/entity/passive/EntityMooshroom.html') diff --git a/javadoc/net/minecraft/entity/passive/EntityMooshroom.html b/javadoc/net/minecraft/entity/passive/EntityMooshroom.html new file mode 100644 index 0000000..3d82533 --- /dev/null +++ b/javadoc/net/minecraft/entity/passive/EntityMooshroom.html @@ -0,0 +1,488 @@ + + + + + +EntityMooshroom (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.entity.passive
+

Class EntityMooshroom

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

      Constructor Detail

      + + + +
        +
      • +

        EntityMooshroom

        +
        public EntityMooshroom(World p_i1687_1_)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

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

        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