{"id":17014588,"url":"https://github.com/necnion8/metacraftingapi","last_synced_at":"2026-05-05T04:05:17.408Z","repository":{"id":82222946,"uuid":"475348473","full_name":"Necnion8/MetaCraftingAPI","owner":"Necnion8","description":"カスタムアイテムとレシピを追加するAPIプラグイン for Bukkit","archived":false,"fork":false,"pushed_at":"2022-12-06T06:05:50.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T16:20:54.441Z","etag":null,"topics":["minecraft-plugin","spigot-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Necnion8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-03-29T08:24:47.000Z","updated_at":"2024-08-13T05:27:16.000Z","dependencies_parsed_at":"2023-05-14T03:00:54.562Z","dependency_job_id":null,"html_url":"https://github.com/Necnion8/MetaCraftingAPI","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Necnion8/MetaCraftingAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FMetaCraftingAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FMetaCraftingAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FMetaCraftingAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FMetaCraftingAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Necnion8","download_url":"https://codeload.github.com/Necnion8/MetaCraftingAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FMetaCraftingAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32634733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["minecraft-plugin","spigot-plugin"],"created_at":"2024-10-14T06:25:24.612Z","updated_at":"2026-05-05T04:05:17.371Z","avatar_url":"https://github.com/Necnion8.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MetaCraftingAPI\nカスタムアイテムとレシピを追加するAPIプラグイン for Bukkit\n\n\n\n\n## シンプルなサンプル例\n### アイテムの作成\n```java\nString itemId = \"sugoi_diamond\";  // 他プラグインと被らない名前を\nCustomItem sugoiDiamond = CustomItem.make(itemId, Material.DIAMOND, (item) -\u003e {\n  ItemMeta meta = item.getItemMeta();\n  meta.setDisplayName(\"すごいダイヤ\");\n  item.setItemMeta(meta);\n});\n```\n### レシピの作成\n```java\nNamespacedKey recipeKey = new NamespacedKey(yourPlugin, \"customRecipeKey\");  // 他のレシピと被らない名前を\nCustomRecipe sugoiDiamondRecipe = CustomRecipe.builder(recipeKey)\n  .shape(\"dd\", \"dd\")  // Diaを2x2でクラフト\n  .setIngredient('d', Material.DIAMOND)  // CustomItemも素材にセットできる\n  .setResult(sugoiDia, 1)  // Materialも可。2番引数は個数\n  .create();\n```\n※現在はShapedRecipeベースのみ対応\n### アイテムとレシピの登録\n```java\nMetaCraftingAPI.registerCustomItem(yourPlugin, sugoiDiamond);\nMetaCraftingAPI.registerCustomRecipe(yourPlugin, sugoiDiamondRecipe);\n```\n### 登録解除 (onDisableなどでアンロードしてほしい)\n```java\nMetaCraftingAPI.unregisterBy(yourPlugin);\n```\n\n## 前提\n- Spigot 1.16 以上 (またはその派生)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnecnion8%2Fmetacraftingapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnecnion8%2Fmetacraftingapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnecnion8%2Fmetacraftingapi/lists"}