Module gomint.api

Interface EntityMagmaCube

    • Method Detail

      • create

        static EntityMagmaCube create()
        Create a new entity magma cube with no config
        empty, fresh magma cube
      • 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.
        factor - of this magma cube