{"id":30785224,"url":"https://github.com/solidpack/solid-material","last_synced_at":"2025-09-05T11:44:25.414Z","repository":{"id":251933783,"uuid":"838892385","full_name":"solidpack/solid-material","owner":"solidpack","description":"A collection of auto generated enum classes for minecraft materials, holding important information for resource packs","archived":true,"fork":false,"pushed_at":"2024-08-10T15:15:43.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-03T22:27:11.761Z","etag":null,"topics":["api","generated-code","material","minecraft","resourcepack"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solidpack.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-08-06T14:45:22.000Z","updated_at":"2025-02-28T12:30:35.000Z","dependencies_parsed_at":"2025-03-11T06:37:50.912Z","dependency_job_id":null,"html_url":"https://github.com/solidpack/solid-material","commit_stats":null,"previous_names":["solid-resourcepack/solid-material","solidpack/solid-material"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/solidpack/solid-material","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidpack%2Fsolid-material","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidpack%2Fsolid-material/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidpack%2Fsolid-material/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidpack%2Fsolid-material/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidpack","download_url":"https://codeload.github.com/solidpack/solid-material/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidpack%2Fsolid-material/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273753229,"owners_count":25161910,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","generated-code","material","minecraft","resourcepack"],"created_at":"2025-09-05T11:44:19.251Z","updated_at":"2025-09-05T11:44:25.366Z","avatar_url":"https://github.com/solidpack.png","language":"Kotlin","readme":"# solid-material ![Maven Central Version](https://img.shields.io/maven-central/v/io.github.solid-resourcepack/solid-material-api?style=flat) ![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/solid-resourcepack/solid-material)\nA collection of auto generated enum classes for minecraft materials, holding important information for resource packs.\nThis repository aims to provide a simple way to access material information for resource packs. It is generated from the official minecraft data files and provides a simple way to access the information.\n\nThe API is designed to be used in combination with the [solid-api](https://github.com/solid-resourcepack/solid-api) project.\n\nYou can however access resource pack information without the solid-api project, by using the generated enum classes [directly](#usage).\n\n## Dependency\n\n### Gradle Kotlin\n```kt\nimplementation(\"io.github.solid-resourcepack:solid-material-api:VERSION\")\n```\n### Gradle Groovy\n```groovy\nimplementation 'io.github.solid-resourcepack:solid-material-api:VERSION'\n```\n\n### Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.solid-resourcepack\u003c/groupId\u003e\n    \u003cartifactId\u003esolid-material-api\u003c/artifactId\u003e\n    \u003cversion\u003eVERSION\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\n### Block Materials\n```kotlin\nval material = SolidBlockMaterial.STONE.toGeneric()\n```\n\n### Item Materials\n```kotlin\nval material = SolidItemMaterial.STICK.toGeneric()\n```\n\n### Material properties\n```kotlin\nmaterial.parent // The resourcepack parent key of the material (e.g. \"minecraft:item/generated\")\nmaterial.key // The resourcepack key of the material (e.g. \"minecraft:item/stick\")\nmaterial.textures // A list of all textures used by the material\n```\n\n\n## Contributing\nTo contribute to this project\n1. Check if your feature is not already provided in a pull request or the project,\n2. if it is not, [fork](https://github.com/solid-resourcepack/solid-material/fork) the repository,\n3. commit changes into the fork,\n4. open a pull request with the [development branch](https://github.com/solid-resourcepack/solid-material/tree/development) as base\n\n## License\nThis project is [licensed](LICENSE) under the Apache-2.0 license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidpack%2Fsolid-material","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidpack%2Fsolid-material","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidpack%2Fsolid-material/lists"}