{"id":29240059,"url":"https://github.com/sharp0802/horde","last_synced_at":"2025-07-03T19:08:52.977Z","repository":{"id":298226821,"uuid":"999275742","full_name":"Sharp0802/horde","owner":"Sharp0802","description":"An alternative of The Horde mod","archived":false,"fork":false,"pushed_at":"2025-06-10T02:44:44.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-10T03:31:42.201Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sharp0802.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,"zenodo":null}},"created_at":"2025-06-10T02:35:45.000Z","updated_at":"2025-06-10T02:40:21.000Z","dependencies_parsed_at":"2025-06-10T03:41:46.438Z","dependency_job_id":null,"html_url":"https://github.com/Sharp0802/horde","commit_stats":null,"previous_names":["sharp0802/horde"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Sharp0802/horde","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sharp0802%2Fhorde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sharp0802%2Fhorde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sharp0802%2Fhorde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sharp0802%2Fhorde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sharp0802","download_url":"https://codeload.github.com/Sharp0802/horde/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sharp0802%2Fhorde/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263385760,"owners_count":23458745,"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":"2025-07-03T19:08:51.836Z","updated_at":"2025-07-03T19:08:52.961Z","avatar_url":"https://github.com/Sharp0802.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Horde\n\nA library-first and intuitive forge mod to create horde wave.\n\n## Runtime Command\n\n- `/horde reload` : Reloads schedule data\n- `/horde dump` : Dumps current schedule data\n- `/horde run \u003cname\u003e` : Force-run a specified schedule\n- `/horde tick` : Gets current tick count\n\n## Configuration\n\n`config/horde/default.json` in your minecraft folder is default Schedule Data file.\nAnd it's loaded when `common_setup` phase of forge loader.\n\n### Schedule Data File\n\n```json\n[\n  ...\n]\n```\n\nSchedule Data File is basically array of Schedule Object\n\n#### Example\n\n```json\n[\n  {\n    \"name\": \"daily-horde\",\n    \"when\": [\n      {\n        \"type\": \"cyclic\",\n        \"cycle\": \"5h\",\n        \"offset\": \"0\"\n      }\n    ],\n    \"spawn\": [\n      \"daily-horde.csv\"\n    ]\n  }\n]\n```\n\n### Schedule Object\n\n```json\n{\n  \"name\": \"\",\n  \"when\": [],\n  \"spawn\": []\n}\n```\n\n- `name` (string) : Name of the schedule\n- `when` (When[]) : Array of conditions; Schedule will be executed only if all conditions are satisfied\n- `spawn` (string[]) : Array of spawn file path (all paths are relative to `config/horde`)\n\n#### Example\n\n```json\n{\n  \"name\": \"daily-horde\",\n  \"when\": [\n    {\n      \"type\": \"cyclic\",\n      \"cycle\": \"5h\",\n      \"offset\": \"0\"\n    }\n  ],\n  \"spawn\": [\n    \"daily-horde.csv\"\n  ]\n}\n```\n\n### When Object\n\n```json\n{\n  \"type\": \"\",\n  ...\n}\n```\n\nWhen Object represents when schedule should be executed\n\n- `type` (string) : Type of when object; See below\n\n#### Cyclic-When Object\n\n```json\n{\n  \"type\": \"cyclic\",\n  \"cycle\": \"\",\n  \"offset\": \"\"\n}\n```\n\n- `cycle` (Time String) : Cycle of signal\n- `offset` (Time String) : Offset of signal\n\n#### Once-When Object\n\n```json\n{\n  \"type\": \"once\",\n  \"offset\": \"\"\n}\n```\n\n- `offset` (Time String) : Offset of signal\n\n#### Example\n\n```json\n{\n  \"type\": \"cyclic\",\n  \"cycle\": \"5h\",\n  \"offset\": \"0\"\n}\n```\n\n### Spawn File Format\n\n```csv\n\u003centity\u003e,\u003cN\u003e[,\u003cP\u003e[,\u003cM\u003e]]\n```\n\n- `entity` : Name of entity (such as `minecraft:pig`)\n- `N` : Number *to* spawn\n- `P` (Probability String) : Probability to spawn\n- `M` : Number *of* spawn\n\nWith a probability of `P`, `N` creatures are summoned.\nThis process is repeated `M` times.\n\n#### Example\n\n```\nminecraft:pig,2\nminecraft:pig,2,50%,4\n```\n\n### Time String\n\n```\n\u003cvalue\u003e[\u003csuffix\u003e]\n\n1d\n24h\n24000\n```\n\n- `value` : Numeric value\n- `suffix` : Unit suffix (optional)\n\nAvailable suffix is as follows:\n\n- `d` : day (in minecraft time)\n- `h` : hour (in minecraft time)\n\nIf no suffix is specified, value represents tick count.\n\n### Probability String\n\n```\n\u003cvalue\u003e[\u003csuffix\u003e]\n```\n\n- `value` : Numeric value\n- `suffix` : Unit suffix (optional)\n\nAvailable suffix is as follows:\n\n- `%` : percent; value should be in \\[0, 100\\]\n\nIf no suffix is specified, value should be in \\[0, 1\\].\n\n## Configuration with API\n\n- `Config#loadSchedule` (`com.sharp0802.horde`) : Load custom schedule data file\n- `Config#reset` : Unload all schedule data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharp0802%2Fhorde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharp0802%2Fhorde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharp0802%2Fhorde/lists"}