Module gomint.api

Interface EntitySlime

    • Method Detail

      • create

        static EntitySlime create()
        Create a new entity slime with no config
        Returns:
        empty, fresh slime
      • setSizeFactor

        void setSizeFactor​(int factor)
        Set a new size for this entity. This changes the hitbox to factor * 0.51f (for both width and height). Health is 2^factor. When the size changes the entity will be healed to its new maximum health.
        Parameters:
        factor - of this slime