Class PlantBlock

    • Constructor Detail

      • PlantBlock

        protected PlantBlock​(int var1,
                             int var2,
                             Material var3)
      • PlantBlock

        protected PlantBlock​(int var1,
                             int var2)
    • Method Detail

      • canPlaceBlockAt

        public boolean canPlaceBlockAt​(World var1,
                                       int var2,
                                       int var3,
                                       int var4)
        Overrides:
        canPlaceBlockAt in class Block
      • canThisPlantGrowOnThisBlockID

        protected boolean canThisPlantGrowOnThisBlockID​(int var1)
      • onNeighborBlockChange

        public void onNeighborBlockChange​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          int var5)
        Overrides:
        onNeighborBlockChange in class Block
      • updateTick

        public void updateTick​(World var1,
                               int var2,
                               int var3,
                               int var4,
                               java.util.Random var5)
        Overrides:
        updateTick in class Block
      • checkFlowerChange

        protected final void checkFlowerChange​(World var1,
                                               int var2,
                                               int var3,
                                               int var4)
      • canBlockStay

        public boolean canBlockStay​(World var1,
                                    int var2,
                                    int var3,
                                    int var4)
        Overrides:
        canBlockStay in class Block
      • isOpaqueCube

        public boolean isOpaqueCube()
        Overrides:
        isOpaqueCube in class Block