{"id":16214113,"url":"https://github.com/bitbrain/chunx","last_synced_at":"2025-08-29T09:22:28.739Z","repository":{"id":10231331,"uuid":"12332607","full_name":"bitbrain/chunx","owner":"bitbrain","description":"Java 2D chunk engine to generate \"infinite\" worlds.","archived":false,"fork":false,"pushed_at":"2019-01-22T10:43:20.000Z","size":231,"stargazers_count":9,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T01:23:17.059Z","etag":null,"topics":["2d","biomes","chunks","engine","libgdx","slick2d"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitbrain.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":"2013-08-23T21:02:05.000Z","updated_at":"2022-11-22T15:42:13.000Z","dependencies_parsed_at":"2022-08-31T05:40:10.948Z","dependency_job_id":null,"html_url":"https://github.com/bitbrain/chunx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bitbrain/chunx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Fchunx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Fchunx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Fchunx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Fchunx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbrain","download_url":"https://codeload.github.com/bitbrain/chunx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Fchunx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272659283,"owners_count":24971607,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"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":["2d","biomes","chunks","engine","libgdx","slick2d"],"created_at":"2024-10-10T11:09:41.178Z","updated_at":"2025-08-29T09:22:28.704Z","avatar_url":"https://github.com/bitbrain.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ChunkX logo](chunx.png)\n\nJava 2D chunk engine to generate \"infinite\" worlds.\n\n### How it works\n\n[![chunx-video](https://img.youtube.com/vi/s4XnjuU8nsM/0.jpg)](https://www.youtube.com/watch?v=s4XnjuU8nsM)\n\nTo create a chunk system, simply look at the following code:\n\n```java\nChunkTarget target = new Character(); // You have to write your own implementation\nContentProvider provider = new World(); // You have to write your own implementation\nCachedChunkConfiguration  configuration = new SimpleCachedChunkConfiguration();\nconfiguration.setFocused(target);\nconfiguration.setContentProvider(provider);\nconfiguration.setCacheSize(4);\n\nChunkSystem chunkSystem = new ConcurrentChunkSystem(new SimpleCachedChunkSystem(configuration));\nchunkSystem.start();\n```\nNow you can work with the chunk system in your game code:\n```java\nChunk chunk = chunkSystem.getActiveChunk();\n\n// The system is focused and has an active chunk\nif (chunk != null) {\n\n   int indexX = chunk.getIndexX();\n   int indexY = chunk.getIndexY();\n   \n   System.out.println(\"The current index is: \" + indexX + \"|\" + indexY);\n}\n```\n\n### Getting started\n\nRead [the official wiki](https://github.com/MyRealityCoding/chunx/wiki) for more information.\n\n### Download\n\nYou can download the newest bundle [here](https://www.dropbox.com/sh/h5eixlxtj5wkfya/gxacHRVHcc).\n\n### Credits\n\n[chunx](https://github.com/MyRealityCoding/chunx) has been developed by [Miguel Gonzalez](http://my-reality.de).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbrain%2Fchunx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbrain%2Fchunx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbrain%2Fchunx/lists"}