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 --- javadoc/net/minecraft/block/BlockLeaves.html | 872 +++++++++++++++++++++++++++ 1 file changed, 872 insertions(+) create mode 100644 javadoc/net/minecraft/block/BlockLeaves.html (limited to 'javadoc/net/minecraft/block/BlockLeaves.html') diff --git a/javadoc/net/minecraft/block/BlockLeaves.html b/javadoc/net/minecraft/block/BlockLeaves.html new file mode 100644 index 0000000..04425e3 --- /dev/null +++ b/javadoc/net/minecraft/block/BlockLeaves.html @@ -0,0 +1,872 @@ + + + + + +BlockLeaves (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.block
+

Class BlockLeaves

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

      Field Detail

      + + + +
        +
      • +

        field_150127_b

        +
        protected int field_150127_b
        +
      • +
      + + + +
        +
      • +

        field_150129_M

        +
        protected IIcon[][] field_150129_M
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BlockLeaves

        +
        public BlockLeaves()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBlockColor

        +
        public int getBlockColor()
        +
        +
        Overrides:
        +
        getBlockColor in class Block
        +
        +
      • +
      + + + +
        +
      • +

        getRenderColor

        +
        public int getRenderColor(int p_149741_1_)
        +
        +
        Overrides:
        +
        getRenderColor in class Block
        +
        +
      • +
      + + + +
        +
      • +

        colorMultiplier

        +
        public int colorMultiplier(IBlockAccess p_149720_1_,
        +                  int p_149720_2_,
        +                  int p_149720_3_,
        +                  int p_149720_4_)
        +
        +
        Overrides:
        +
        colorMultiplier in class Block
        +
        +
      • +
      + + + +
        +
      • +

        breakBlock

        +
        public void breakBlock(World p_149749_1_,
        +              int p_149749_2_,
        +              int p_149749_3_,
        +              int p_149749_4_,
        +              Block p_149749_5_,
        +              int p_149749_6_)
        +
        +
        Overrides:
        +
        breakBlock in class Block
        +
        +
      • +
      + + + +
        +
      • +

        updateTick

        +
        public void updateTick(World p_149674_1_,
        +              int p_149674_2_,
        +              int p_149674_3_,
        +              int p_149674_4_,
        +              java.util.Random p_149674_5_)
        +
        +
        Overrides:
        +
        updateTick in class Block
        +
        +
      • +
      + + + +
        +
      • +

        randomDisplayTick

        +
        public void randomDisplayTick(World p_149734_1_,
        +                     int p_149734_2_,
        +                     int p_149734_3_,
        +                     int p_149734_4_,
        +                     java.util.Random p_149734_5_)
        +
        +
        Overrides:
        +
        randomDisplayTick in class Block
        +
        +
      • +
      + + + +
        +
      • +

        quantityDropped

        +
        public int quantityDropped(java.util.Random p_149745_1_)
        +
        +
        Overrides:
        +
        quantityDropped in class Block
        +
        +
      • +
      + + + +
        +
      • +

        getItemDropped

        +
        public Item getItemDropped(int p_149650_1_,
        +                  java.util.Random p_149650_2_,
        +                  int p_149650_3_)
        +
        +
        Overrides:
        +
        getItemDropped in class Block
        +
        +
      • +
      + + + +
        +
      • +

        dropBlockAsItemWithChance

        +
        public void dropBlockAsItemWithChance(World p_149690_1_,
        +                             int p_149690_2_,
        +                             int p_149690_3_,
        +                             int p_149690_4_,
        +                             int p_149690_5_,
        +                             float p_149690_6_,
        +                             int p_149690_7_)
        +
        +
        Overrides:
        +
        dropBlockAsItemWithChance in class Block
        +
        +
      • +
      + + + +
        +
      • +

        func_150124_c

        +
        protected void func_150124_c(World p_150124_1_,
        +                 int p_150124_2_,
        +                 int p_150124_3_,
        +                 int p_150124_4_,
        +                 int p_150124_5_,
        +                 int p_150124_6_)
        +
      • +
      + + + +
        +
      • +

        func_150123_b

        +
        protected int func_150123_b(int p_150123_1_)
        +
      • +
      + + + +
        +
      • +

        harvestBlock

        +
        public void harvestBlock(World p_149636_1_,
        +                EntityPlayer p_149636_2_,
        +                int p_149636_3_,
        +                int p_149636_4_,
        +                int p_149636_5_,
        +                int p_149636_6_)
        +
        +
        Overrides:
        +
        harvestBlock in class Block
        +
        +
      • +
      + + + +
        +
      • +

        damageDropped

        +
        public int damageDropped(int p_149692_1_)
        +
        +
        Overrides:
        +
        damageDropped in class Block
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getIcon

        +
        public abstract IIcon getIcon(int p_149691_1_,
        +            int p_149691_2_)
        +
        +
        Overrides:
        +
        getIcon in class Block
        +
        +
      • +
      + + + +
        +
      • +

        setGraphicsLevel

        +
        public void setGraphicsLevel(boolean p_150122_1_)
        +
      • +
      + + + + + + + +
        +
      • +

        func_150125_e

        +
        public abstract java.lang.String[] func_150125_e()
        +
      • +
      + + + +
        +
      • +

        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.
        +
      • +
      + + + +
        +
      • +

        beginLeavesDecay

        +
        public void beginLeavesDecay(World world,
        +                    int x,
        +                    int y,
        +                    int z)
        +
        Description copied from class: Block
        +
        Called when a leaf should start its decay process.
        +
        +
        Overrides:
        +
        beginLeavesDecay in class Block
        +
        Parameters:
        world - The current world
        x - X Position
        y - Y Position
        z - Z Position
        +
      • +
      + + + +
        +
      • +

        isLeaves

        +
        public boolean isLeaves(IBlockAccess world,
        +               int x,
        +               int y,
        +               int z)
        +
        Description copied from class: Block
        +
        Determines if this block is considered a leaf block, used to apply the leaf decay and generation system.
        +
        +
        Overrides:
        +
        isLeaves in class Block
        +
        Parameters:
        world - The current world
        x - X Position
        y - Y Position
        z - Z Position
        +
        Returns:
        true if this block is considered leaves.
        +
      • +
      + + + +
        +
      • +

        getDrops

        +
        public java.util.ArrayList<ItemStack> getDrops(World world,
        +                                      int x,
        +                                      int y,
        +                                      int z,
        +                                      int metadata,
        +                                      int fortune)
        +
        Description copied from class: Block
        +
        This returns a complete list of items dropped from this block.
        +
        +
        Overrides:
        +
        getDrops in class Block
        +
        Parameters:
        world - The current world
        x - X Position
        y - Y Position
        z - Z Position
        metadata - Current metadata
        fortune - Breakers fortune level
        +
        Returns:
        A ArrayList containing all items this block drops
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3