{"id":20384203,"url":"https://github.com/levelz-file/java-bindings","last_synced_at":"2026-04-20T04:35:44.148Z","repository":{"id":225419540,"uuid":"765941190","full_name":"LevelZ-File/java-bindings","owner":"LevelZ-File","description":"Java, Kotlin (JVM) Parser \u0026 API for LevelZ File Format","archived":false,"fork":false,"pushed_at":"2025-02-23T01:00:45.000Z","size":563,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T02:18:11.933Z","etag":null,"topics":["java","kotlin","kotlin-jvm","levelz"],"latest_commit_sha":null,"homepage":"https://levelz-file.github.io/java-bindings/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LevelZ-File.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"gmitch215"}},"created_at":"2024-03-01T23:26:22.000Z","updated_at":"2025-02-23T01:00:46.000Z","dependencies_parsed_at":"2024-03-02T01:27:08.819Z","dependency_job_id":"ff4e0059-d25b-4b44-b9f0-a3ed057dad60","html_url":"https://github.com/LevelZ-File/java-bindings","commit_stats":null,"previous_names":["levelz-file/java-bindings"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fjava-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fjava-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fjava-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fjava-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LevelZ-File","download_url":"https://codeload.github.com/LevelZ-File/java-bindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935269,"owners_count":20044827,"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":["java","kotlin","kotlin-jvm","levelz"],"created_at":"2024-11-15T02:26:42.822Z","updated_at":"2026-04-20T04:35:39.122Z","avatar_url":"https://github.com/LevelZ-File.png","language":"Java","funding_links":["https://patreon.com/gmitch215"],"categories":[],"sub_categories":[],"readme":"# levelz-java\n\n\u003e Java \u0026 Kotlin Parser \u0026 API For LevelZ File Format\n\n[![JitPack](https://jitpack.io/v/LevelZ-File/java-bindings.svg)](https://jitpack.io/#LevelZ-File/java-bindings)\n![GitHub Release](https://img.shields.io/github/v/release/LevelZ-File/java-bindings)\n\n## Overview\n\nProvides Java \u0026 Kotlin Parsing/Support for the LevelZ File Format. \n\n### Download\n\nMaven\n```xml\n\u003c!-- Add Calculus Games Repository --\u003e\n\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ecalculus-games\u003c/id\u003e\n        \u003curl\u003ehttps://repo.calcugames.xyz/repository/maven-releases/\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003exyz.calcugames\u003c/groupId\u003e\n        \u003cartifactId\u003elevelz-java\u003c/artifactId\u003e\n        \u003cversion\u003e[VERSION]\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\nGradle (Groovy)\n```groovy\n// Add Calculus Games Repository\nrepositories {\n    maven { url 'https://repo.calcugames.xyz/repository/maven-releases/' }\n}\n\ndependencies {\n    implementation 'xyz.calcugames:levelz-java:[VERSION]'\n}\n```\n\nGradle (Kotlin DSL)\n```kts\n// Add Calculus Games Repository\nrepositories {\n    maven(\"https://repo.calcugames.xyz/repository/maven-releases/\")\n}\n\ndependencies {\n    implementation(\"xyz.calcugames:levelz-java:[VERSION]\")\n}\n```\n## Usage\n\n### Java\n\n```java\nCoordinate2D coordinate2D = new Coordinate2D(1, 2);\nCoordinate3D coordinate3D = new Coordinate3D(1, 2, 3);\n```\n\n```java\n\npublic class Main {\n    public static void main(String[] args) {\n        // Resource from JAR\n        InputStream is = Main.class.getResourceAsStream(\"/example_2d.lvlz\");\n        Level2D level = (Level2D) LevelParser.builder()\n                .input(is)\n                .build()\n                .parse();\n        \n        // Resource from File\n        File file = new File(\"example_2d.lvlz\");\n        Level2D level = (Level2D) LevelParser.builder()\n                .input(file)\n                .build()\n                .parse();\n    }\n}\n\n```\n\n### Kotlin\n\n```kotlin\nval (x, y) = Coordinate2D(1, 2)\nval (x, y, z) = Coordinate3D(1, 2, 3)\n```\n\n```kotlin\n\nfun main() {\n    // Resource from JAR\n    val input = Main::class.java.getResourceAsStream(\"/example_3d.lvlz\")\n    val level = LevelParser.builder()\n        .input(input)\n        .build()\n        .parse().as3D\n\n    // Resource from File\n    val file = File(\"example_3d.lvlz\")\n    val level = LevelParser.builder()\n        .input(file)\n        .build()\n        .parse().as3D\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevelz-file%2Fjava-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevelz-file%2Fjava-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevelz-file%2Fjava-bindings/lists"}