{"id":22205354,"url":"https://github.com/stevertus/objd-docs","last_synced_at":"2025-06-15T16:33:31.379Z","repository":{"id":107780799,"uuid":"205720439","full_name":"Stevertus/objd-docs","owner":"Stevertus","description":"The official documentation for projects","archived":false,"fork":false,"pushed_at":"2024-01-06T23:14:47.000Z","size":4181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T04:17:07.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Stevertus.png","metadata":{"files":{"readme":"README.md","changelog":"changes/README.md","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}},"created_at":"2019-09-01T19:05:56.000Z","updated_at":"2024-02-06T15:32:07.000Z","dependencies_parsed_at":"2024-01-06T23:47:02.916Z","dependency_job_id":null,"html_url":"https://github.com/Stevertus/objd-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stevertus%2Fobjd-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stevertus%2Fobjd-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stevertus%2Fobjd-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stevertus%2Fobjd-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stevertus","download_url":"https://codeload.github.com/Stevertus/objd-docs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245390644,"owners_count":20607486,"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-02T17:30:02.722Z","updated_at":"2025-03-25T03:25:08.296Z","avatar_url":"https://github.com/Stevertus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\nhome: true\nheroImage: /logo.png\ntitle: ObjD\nactionText: Get Started →\nactionLink: /guide/\nfeatures:\n  - title: IDE tooling\n    details: \"Use all the powerfull IDE tools of Dart: Autocompletion, Inline Documentation, Linting, Formatting... Directly in intelliJ or vsCode\"\n  - title: Comfort\n    details: objD generates Scoreboards, setup files and namespaces by itself and provides a high level API\n  - title: Expand\n    details: You can build your own Widgets, customize arguments and create your own APIs using the tools that objD gives you.\nfooter: MIT Licensed | Copyright © 2022 Stevertus\n---\n\n## Program Datapacks!\n\nUse a programming language to generate Datapacks and benefit from the unlimited enhancements.\n\n# A simple project, in a few lines:\n\n```dart\nimport 'package:objd/core.dart';\n\n@Prj()\nfinal example = NamespacePack();\n\n@Pck(load: 'load')\nfinal namespace = [LoadFile];\n\n@Func()\nfinal load = Log('Reloaded!');\n```\n\n## objD is build upon Modules\n\nEach part of a Datapack is seperated into Widgets. A Widget can be a simple Command, a group of Commands, whole Files or Packs.\n\n\u003ciframe width=\"560\" height=\"315\" style=\"margin: 0 calc(50% - 280px)\" src=\"https://www.youtube-nocookie.com/embed/2Df24YXR5to\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen\u003e\u003c/iframe\u003e\n\n## 70+ Included APIs and Widgets\n\nobjD features a lot of in-built Widgets, like [Basics](/basics)(Pack, File, Entity, Group) all the [Commands](/wrappers), [Text Generators](/texts) and Utils, like Timers, RNG, Raycasting and Loops.\n\nGet all the information that you need in this youtube series:\n\n\u003ciframe width=\"560\" height=\"315\" style=\"margin: 0 calc(50% - 280px)\" src=\"https://www.youtube-nocookie.com/embed/videoseries?list=PL5AxRIlgrL5GnKz69w4AUyqpZC35BlxdD\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen\u003e\u003c/iframe\u003e\n\n### Simple Click Counter Example:\n\n```dart\nimport 'package:objd/core.dart';\n\n@Prj(name: 'folder name')\nfinal example = Pack(\n  name: 'mypack',\n  modules: [\n    ClickEvent(\n      name: 'onclick',\n      onClick: Score(Entity.Self(), 'counter') + 1,\n    )\n  ],\n  load: LoadFile,\n  main: MainFile,\n);\n\n@Func()\nfinal load = Log('Runs on Load');\n\n@Wdg\nWidget showTitle(String text) =\u003e Title(\n      Entity.All(),\n      show: [TextComponent(text, color: Color.Red)],\n    );\n\n@Func()\nfinal main = If(\n  Score(Entity.Self(), 'counter') \u003e= 10,\n  then: [\n    ShowTitle('clicked ten times!'),\n    Score(Entity.Self(), 'counter').reset(),\n  ],\n);\n```\n\n## Installation\n\nGet started today by installing objD and playing around.\n\n\u003cdiv class=\"hero\"\u003e\u003ca class=\"nav-link action-button\" href=\"/cli\"\u003eGet Started →\u003c/a\u003e\u003c/div\u003e\nOr\n\n[Contribute on GitHub](https://github.com/Stevertus/objD)\n\n## Get Connected With the Community and get Updates\n\n\u003cdiv class=\"hero\" style=\"padding:16px\"\u003e\u003ca class=\"nav-link action-button\" href=\"https://discord.gg/McYXVC8\"\u003eJoin the Discord\u003c/a\u003e\u003c/div\u003e\n\n## Changelog of all the recent additions\n## 0.4.7\n\n- added arguments methods on context to generate macro commands introduced in 1.20.2\n- added Random Widget\n- added Return.run and Return.fail subcommands\n- added supportedFormats and packFormat to Project, default version is now 20.4 \n- added arguments field for File.execute to run functions with arguments\n- updated blocks, items, particles and entities to include content from 1.20.4 and 23w51b\n- updated documentation links to the new minecraft wiki https://minecraft.wiki (thanks @Spongecade)\n- fixed Entity to introduce a trailing comma when given empty tags\n- fixed Entity.Clone to deep copy, instead of shallow copy (thanks @CCpcalvin)  \n\n\u003cdiv class=\"hero\" style=\"padding:16px\"\u003e\u003ca class=\"nav-link action-button\" href=\"/changes\"\u003eFull Changelog\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevertus%2Fobjd-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevertus%2Fobjd-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevertus%2Fobjd-docs/lists"}