{"id":16367993,"url":"https://github.com/ephys/mc-shulker-enchantments","last_synced_at":"2025-09-01T16:45:46.402Z","repository":{"id":46878102,"uuid":"305506702","full_name":"ephys/mc-shulker-enchantments","owner":"ephys","description":"Enchantments you can use on your Shulker boxes! (See curseforge page)","archived":false,"fork":false,"pushed_at":"2023-04-14T11:45:15.000Z","size":586,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"1.18.2","last_synced_at":"2025-01-31T16:51:40.310Z","etag":null,"topics":[],"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/ephys.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}},"created_at":"2020-10-19T20:34:45.000Z","updated_at":"2023-03-04T06:14:58.000Z","dependencies_parsed_at":"2023-02-08T19:46:35.532Z","dependency_job_id":null,"html_url":"https://github.com/ephys/mc-shulker-enchantments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Fmc-shulker-enchantments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Fmc-shulker-enchantments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Fmc-shulker-enchantments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ephys%2Fmc-shulker-enchantments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ephys","download_url":"https://codeload.github.com/ephys/mc-shulker-enchantments/tar.gz/refs/heads/1.18.2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284742,"owners_count":19446720,"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-11T02:51:23.285Z","updated_at":"2025-02-11T11:31:12.888Z","avatar_url":"https://github.com/ephys.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shulker Enchantments\n\n[See the CurseForge page for details](https://www.curseforge.com/minecraft/mc-mods/shulker-enchantments)\n\n## For developers\n\nIf your mod provides items that keep or have their own inventory in item form (such as Shulker Boxes, Satchels, Backpacks, etc...), \nand you wish for your items to support the enchantments provided by this mod, \nyou can do so using the native Tags and the Capabilities systems.\n\n### Tagging\n\nYou simply need to tag your item with the `shulker_enchantments:shulker_like` item tag.  \nThis will tell ShulkerEnchantments that your item accepts the enchantment.\n\nStart by creating a file in `resources` called `data/shulker_enchantments/tags/items/shulker_like.json`, and place the following JSON in it:\n```json\n{\n  \"replace\": false,\n  \"values\": [\"\u003cYOUR ITEM ID\u003e\"]\n}\n```\n\nWhere `\u003cYOUR ITEM ID\u003e` is the ID of the item you wish to add support to (eg. `minecraft:shulker_box`).\n\nFor more information about tags, see [The Minecraft Tag documentation](https://minecraft.gamepedia.com/Tag) and [Forge's Tag documentation](https://mcforge.readthedocs.io/en/latest/utilities/tags/)\n\n### Capabilities\n\nLastly, your item's *`ItemStack`s* must have Forge's `CapabilityItemHandler.ITEM_HANDLER_CAPABILITY` capability attached. See [Forge's Capabilities documentation](https://mcforge.readthedocs.io/en/stable/datastorage/capabilities/) to learn more about attaching capabilities to ItemStacks.\n\nIf you do not provide this capability, your item's inventory will be impossible to manipulate.\n\n[See how we add Item Handler capabilities to the native ShulkerBox ItemStack](https://github.com/ephys/mc-shulker-enchantments/blob/0db51810ae4b0fcb92214f1e4c79d6b57e1522b4/src/main/java/be/ephys/shulker_enchantments/siphon/SiphonEnchantment.java#L67)\n\n### Enchantment Glint\n\nShulker Box implementations typically use a TileEntity renderer to render the Shulker Box Item (emphasis on Item).  \nThese typically do not support enchantment glints.  \nAs a solution, you could use the TileEntity renderer only for the Block, and define a baked model for the shulker box item.\n\n[This is what we did for the vanilla shulker box](https://github.com/ephys/mc-shulker-enchantments/blob/master/src/main/resources/assets/minecraft/models/item/black_shulker_box.json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fephys%2Fmc-shulker-enchantments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fephys%2Fmc-shulker-enchantments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fephys%2Fmc-shulker-enchantments/lists"}