![]() This will install the Blockbench types that make it easier to use the Blockbench API. Make sure NodeJS is installed and run npm install in the repository. To develop a plugin, fork and clone the repository.plugins/plugin_id/src/**: Use this directory to store the plugin source, if using a bundler.developers can contribute new versions of the plugin. You can add two types of members: maintainers Can do anything with the plugin, including removing it entirely or modifying the members list. plugins/plugin_id/members.yml: This file allows you to list Github users who have your permission to do changes to your model, without me having to check back with you.To register an icon, set the icon field in the plugin meta data to the file name of the icon. Icons can be either PNG files with a resolution of 48x48, or they can be SVG files. plugins/plugin_id/icon.png or icon.svg: The plugin icon.plugins/plugin_id/about.md: Markdown file containing the plugin about + instructions.plugins/plugin_id/plugin_id.js- The plugin Javascript file itself.These are the files that can be added to the plugin directory The new structure is recommended for new plugins. The new structure will be used by Blockbench if A: the "min_version" is set to 4.8.0 or higher, or B: if the field "new_repository_format" in plugins.json is set to true. The new structure utilizes a separate directory per plugin in the plugins directory, which contains the plugin Javascript file, as well as other optional files. The legacy format, where plugin Javascript files are saved directly in the plugins directory, was used by Blockbench 4.7 and older, and will continue to be supported for already existing plugins. You need to increase the version number for each update that is published.īlockbench supports two file structure systems. Use simple semver for plugin versioning:, e.Individual plugin files can follow own personal preferences. Indentation for common files must be Tab character.Plugin IDs should be snake_case and must be consistent across all properties and file names.Discord plugin development forum: #bb-plugin-dev. ![]() Plugin Documentation: /wiki/api/plugin.Main Blockbench repository: JannisX11/blockbench.Find the plugin you want to use and click Install. To install a plugin, go to File > Plugins. Open an issue to report bugs within plugins and tag the author if possible. Create a pull request to submit or update plugins.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |