{"id":16379391,"url":"https://github.com/maxlego08/zhead","last_synced_at":"2025-03-23T03:32:55.468Z","repository":{"id":228581678,"uuid":"773869933","full_name":"Maxlego08/zHead","owner":"Maxlego08","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-12T11:54:48.000Z","size":162,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T17:14:34.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maxlego08.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-18T14:43:04.000Z","updated_at":"2025-02-12T12:06:51.000Z","dependencies_parsed_at":"2024-03-21T18:43:07.748Z","dependency_job_id":"4f54eecb-7604-417a-90c5-23c2a18dd486","html_url":"https://github.com/Maxlego08/zHead","commit_stats":null,"previous_names":["maxlego08/zhead"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxlego08%2FzHead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxlego08%2FzHead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxlego08%2FzHead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxlego08%2FzHead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maxlego08","download_url":"https://codeload.github.com/Maxlego08/zHead/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052639,"owners_count":20553162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T03:48:26.120Z","updated_at":"2025-03-23T03:32:54.761Z","avatar_url":"https://github.com/Maxlego08.png","language":"Java","readme":"# zHead Database\n\nWe would like to extend our heartfelt thanks to [Minecraft-Heads.com](https://minecraft-heads.com/) for providing their API, which has been an invaluable source of all the data used in our project.\n\n# API\n\nJitpack: https://jitpack.io/#Maxlego08/zHead\n\nMaven\n```xml\n\u003crepositories\u003e\n  \u003crepository\u003e\n      \u003cid\u003ejitpack.io\u003c/id\u003e\n      \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n  \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.Maxlego08\u003c/groupId\u003e\n    \u003cartifactId\u003ezHead\u003c/artifactId\u003e\n    \u003cversion\u003e1.1\u003c/version\u003e\n    \u003cscope\u003eprovided\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n```java\npublic void example(){\n    HeadManager headManager = getProvider(HeadManager.class);\n    ItemStack itemStack = headManager.createItemStack(\u003chead id\u003e); # Create an itemstack using an head ID, if the id doesn't exist the itemstack will be null\n    List\u003cHead\u003e heads = headManager.search(\u003cvalue\u003e); # Search for a list of heads based on its name, id, or tag\n    Optional\u003cHead\u003e optional = headManager.getHead(\u003chead id\u003e); \n}\n\npublic \u003cT\u003e T getProvider(Class\u003cT\u003e classz) {\n    RegisteredServiceProvider\u003cT\u003e provider = getServer().getServicesManager().getRegistration(classz);\n    return provider == null ? null : provider.getProvider();\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlego08%2Fzhead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxlego08%2Fzhead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlego08%2Fzhead/lists"}