{"id":16842861,"url":"https://github.com/teverett/mtlib","last_synced_at":"2026-01-20T13:03:26.310Z","repository":{"id":212891012,"uuid":"732536538","full_name":"teverett/mtlib","owner":"teverett","description":"Minetest library for Redis","archived":false,"fork":false,"pushed_at":"2025-05-24T00:41:30.000Z","size":223,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-24T01:28:45.080Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teverett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","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":"2023-12-17T02:07:33.000Z","updated_at":"2025-05-24T00:41:28.000Z","dependencies_parsed_at":"2024-06-23T06:24:25.955Z","dependency_job_id":"0ec4695f-1288-48e9-add3-ad954f718678","html_url":"https://github.com/teverett/mtlib","commit_stats":null,"previous_names":["teverett/mtlib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teverett/mtlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fmtlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fmtlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fmtlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fmtlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teverett","download_url":"https://codeload.github.com/teverett/mtlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fmtlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-13T12:48:48.076Z","updated_at":"2026-01-20T13:03:26.271Z","avatar_url":"https://github.com/teverett.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mtlib\n\nA Java library for reading and writing [Minetest](https://www.minetest.net/) Redis databases from [Redis](https://www.redis.com/)\n\n## License\n\nmtlib is distributed under the [2-clause BSD license](https://opensource.org/license/bsd-2-clause/).\n\n## Usage\n\n````\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.khubla.mtlib\u003c/groupId\u003e\n    \u003cartifactId\u003emtlib\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n````\n\n### Creating database configuration object\n\n````\nBaseDatabaseConfig myDatabaseConfig = new BaseDatabaseConfig();\nmyDatabaseConfig.setHost(\"localhost\");\nmyDatabaseConfig.setPort(6379);\nmyDatabaseConfig.setHash(\"mt\");\nmyDatabaseConfig.setPassword(\"mypassword\");\n````\n\n### Instantiating WorldMap\n\n````\nWorldMap worldMap = new DefaultWorldMap(myDatabaseConfig);\n````\n\n### Query\n\n````\n// get Block at 0,0,0\nBlock block = worldMap.getBlock(new Coord(0,0,0));\n\n// get node at 10,20,30\nNode node = worldMap.getNode(new Coord(10,20,30))\n\n// set node type to dirt\nshort dirtId = BlockTypes.getInstance().getId(\"default:dirt\")\nnode.setParam0(dirtId);\nworldMap.setNode(new Coord(10,20,30), node);\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteverett%2Fmtlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteverett%2Fmtlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteverett%2Fmtlib/lists"}