Interface Bee

    • Method Detail

      • getHive

        @Nullable
        Location getHive()
        Get the bee's hive location.
        Returns:
        hive location or null
      • setHive

        void setHive​(@Nullable
                     Location location)
        Set the bee's hive location.
        Parameters:
        location - or null
      • getFlower

        @Nullable
        Location getFlower()
        Get the bee's flower location.
        Returns:
        flower location or null
      • setFlower

        void setFlower​(@Nullable
                       Location location)
        Set the bee's flower location.
        Parameters:
        location - or null
      • hasNectar

        boolean hasNectar()
        Get if the bee has nectar.
        Returns:
        nectar
      • setHasNectar

        void setHasNectar​(boolean nectar)
        Set if the bee has nectar.
        Parameters:
        nectar - whether the entity has nectar
      • hasStung

        boolean hasStung()
        Get if the bee has stung.
        Returns:
        has stung
      • setHasStung

        void setHasStung​(boolean stung)
        Set if the bee has stung.
        Parameters:
        stung - has stung
      • getAnger

        int getAnger()
        Get the bee's anger level.
        Returns:
        anger level
      • setAnger

        void setAnger​(int anger)
        Set the bee's new anger level.
        Parameters:
        anger - new anger
      • getCannotEnterHiveTicks

        int getCannotEnterHiveTicks()
        Get the amount of ticks the bee cannot enter the hive for.
        Returns:
        Ticks the bee cannot enter a hive for
      • setCannotEnterHiveTicks

        void setCannotEnterHiveTicks​(int ticks)
        Set the amount of ticks the bee cannot enter a hive for.
        Parameters:
        ticks - Ticks the bee cannot enter a hive for