Module gomint.api

Interface EntityVillager

    • Method Detail

      • create

        static EntityVillager create()
        Create a new entity villager with no config
        Returns:
        empty, fresh villager
      • setProfession

        void setProfession​(EntityVillager.Profession profession)
        Set the profession of a villager
        Parameters:
        profession - of the villager
      • getProfession

        EntityVillager.Profession getProfession()
        Get the current profession of a villager
        Returns:
        profession of this villager