{"id":17137150,"url":"https://github.com/squeek502/appleskin","last_synced_at":"2025-05-16T02:10:16.361Z","repository":{"id":37732130,"uuid":"65602546","full_name":"squeek502/AppleSkin","owner":"squeek502","description":"Food-related HUD improvements for Minecraft (AppleCore without the core)","archived":false,"fork":false,"pushed_at":"2025-04-05T00:06:08.000Z","size":911,"stargazers_count":353,"open_issues_count":66,"forks_count":69,"subscribers_count":8,"default_branch":"1.16-forge","last_synced_at":"2025-04-08T13:07:39.639Z","etag":null,"topics":["minecraft-mod"],"latest_commit_sha":null,"homepage":"https://www.curseforge.com/minecraft/mc-mods/appleskin","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squeek502.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["squeek502"]}},"created_at":"2016-08-13T06:16:07.000Z","updated_at":"2025-04-07T18:39:56.000Z","dependencies_parsed_at":"2023-01-28T02:46:16.422Z","dependency_job_id":"4b56e147-d335-431b-af92-7fa627091d4f","html_url":"https://github.com/squeek502/AppleSkin","commit_stats":{"total_commits":95,"total_committers":7,"mean_commits":"13.571428571428571","dds":0.2315789473684211,"last_synced_commit":"5bedbcc501848f3a22a650f1f661e57d6973af83"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2FAppleSkin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2FAppleSkin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2FAppleSkin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2FAppleSkin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squeek502","download_url":"https://codeload.github.com/squeek502/AppleSkin/tar.gz/refs/heads/1.16-forge","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254453667,"owners_count":22073618,"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":["minecraft-mod"],"created_at":"2024-10-14T20:06:21.979Z","updated_at":"2025-05-16T02:10:16.346Z","avatar_url":"https://github.com/squeek502.png","language":"Java","funding_links":["https://github.com/sponsors/squeek502"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://www.ryanliptak.com/images/appleskin.png\" width=\"32\" /\u003e [AppleSkin](https://minecraft.curseforge.com/projects/appleskin)\n===========\n\nMinecraft mod that adds various food-related HUD improvements formerly provided by [AppleCore](https://github.com/squeek502/AppleCore) (basically, AppleCore without the core).\n\n### Features\n\n* Adds food value information to tooltips:\n\n![](https://i.imgur.com/YksBaUx.png)\n\n* Adds a visualization of saturation and exhaustion to the HUD:\n\n![](https://i.imgur.com/tmImVqo.gif)\n\n* Adds a visualization of potential hunger/saturation restored while holding food:\n\n![](https://i.imgur.com/aHf1QxQ.gif)\n\n* Adds a visualization of potential health restored while holding food:\n\n![](https://i.imgur.com/jUOKFUl.gif)\n\n* Adds hunger/saturation/exhaustion info to the debug overlay (F3)\n* Syncs the value of saturation and exhaustion to the client.\n\n---\n\n### Building AppleSkin\n1. Clone the repository\n2. Open a command line and execute ```gradlew build```\n\nNote: To give the build a version number, use ```gradlew build -Pversion=\u003cversion\u003e``` instead (example: ```gradlew build -Pversion=1.0.0```).\n\n---\n\n### For Mod Developers\n\n\u003e Note: These instructions are Forge-specific. For Fabric, see the instructions in the relevant `-fabric` branch.\n\nIf followed, the directions below will make it so that your mod's Maven dependencies won't include AppleSkin at all, and your mod will load fine with or without AppleSkin installed.\n\nTo compile against the AppleSkin API, include the following in your `build.gradle`:\n\n```groovy\nrepositories {\n\tmaven { url \"https://maven.ryanliptak.com/\" }\n}\n```\n\nand add this to your `dependencies` block:\n\n```groovy\ncompileOnly fg.deobf(\"squeek.appleskin:appleskin-forge:\u003cversion\u003e:api\")\n```\n\nwhere `\u003cversion\u003e` is replaced by the appropriate version found here:\n\nhttps://maven.ryanliptak.com/squeek/appleskin/appleskin-forge\n\nOnce you're compiling against the AppleSkin API, you can create an event handler and only register it when `appleskin` is loaded. Here's an example implementation:\n\nIn your `@Mod` annotated class:\n\n```java\nprivate void clientInit(final FMLClientSetupEvent event) {\n    if (ModList.get().isLoaded(\"appleskin\")) {\n        MinecraftForge.EVENT_BUS.register(new AppleSkinEventHandler());\n    }\n}\n```\n\nand the `AppleSkinEventHandler` class:\n\n```java\npublic class AppleSkinEventHandler\n{\n\t@SubscribeEvent\n\tpublic void onPreTooltipEvent(TooltipOverlayEvent.Pre event) {\n\t\t// hide the tooltip for regular apples\n\t\tif (event.itemStack.getItem() == Items.APPLE) {\n\t\t\tevent.setCanceled(true);\n\t\t}\n\t}\n}\n```\n\n(see the `squeek.appleskin.api.event` package for all the possible events that can be registered)\n\n---\n\nNote: if you want to test with the full AppleSkin mod in your development environment, you can also add the following to your `dependencies`:\n\n```groovy\nruntimeOnly fg.deobf(\"squeek.appleskin:appleskin-forge:\u003cversion\u003e\")\n```\n\nwhile replacing `\u003cversion\u003e` as mentioned above.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueek502%2Fappleskin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqueek502%2Fappleskin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueek502%2Fappleskin/lists"}