{"id":22363430,"url":"https://github.com/devs-immortal/divine-intervention","last_synced_at":"2025-03-26T15:18:31.767Z","repository":{"id":38322637,"uuid":"456072612","full_name":"devs-immortal/Divine-Intervention","owner":"devs-immortal","description":"Some mixin things","archived":false,"fork":false,"pushed_at":"2022-06-23T06:49:01.000Z","size":121,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-31T16:28:49.538Z","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":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devs-immortal.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}},"created_at":"2022-02-06T06:20:34.000Z","updated_at":"2022-02-09T05:04:49.000Z","dependencies_parsed_at":"2022-08-25T03:01:18.475Z","dependency_job_id":null,"html_url":"https://github.com/devs-immortal/Divine-Intervention","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devs-immortal%2FDivine-Intervention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devs-immortal%2FDivine-Intervention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devs-immortal%2FDivine-Intervention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devs-immortal%2FDivine-Intervention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devs-immortal","download_url":"https://codeload.github.com/devs-immortal/Divine-Intervention/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245678902,"owners_count":20654738,"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-12-04T17:15:02.480Z","updated_at":"2025-03-26T15:18:31.738Z","avatar_url":"https://github.com/devs-immortal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Divine Intervention\nAdds some features for use within mixins\n\n## Injectors\n### ModifyOperand\nTakes the topmost value on the operand stack and passes it to a handler method,\noptionally also capturing the target method arguments, and replaces it with the\nhandler method's return value.\n\n### EnumInject\nA slightly weird injector that adds a constant to an enum. See [EnumInject.md](EnumInject.md) for an example.\n\n### CustomInject\nA quick way of using asm to do whatever you want to do. If you don't know how to use it, you probably shouldn't.\n\n## Installation\n### Groovy\nbuild.gradle:\n```groovy\nrepositories {\n    maven {\n        name = \"Jitpack\"\n        url = \"https://jitpack.io\"\n    }\n}\n\ndependencies {\n    modImplementation annotationProcessor(include(\"com.github.devs-immortal:Divine-Intervention:${project.divine_intervention_version}\"))\n}\n```\ngradle.properties:\n```properties\ndivine_intervention_version = 2.0.0\n```\n\n### Kotlin\nbuild.gradle.kts:\n```kotlin\nval divineInterventionVersion: String by properties\n\nrepositories {\n    maven {\n        name = \"Jitpack\"\n        url = uri(\"https://jitpack.io\")\n    }\n}\n\ndependencies {\n    modImplementation(\n            group = \"com.github.devs-immortal\",\n            name = \"Divine-Intervention\",\n            version = divineInterventionVersion,\n    ).also(::annotationProcessor).also(::include)\n}\n```\ngradle.properties:\n```properties\ndivineInterventionVersion = 2.0.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevs-immortal%2Fdivine-intervention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevs-immortal%2Fdivine-intervention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevs-immortal%2Fdivine-intervention/lists"}