Interface Piglin

    • Method Detail

      • isAbleToHunt

        boolean isAbleToHunt()
        Get whether the piglin is able to hunt hoglins.
        Returns:
        Whether the piglin is able to hunt hoglins
      • setIsAbleToHunt

        void setIsAbleToHunt​(boolean flag)
        Sets whether the piglin is able to hunt hoglins.
        Parameters:
        flag - Whether the piglin is able to hunt hoglins.