Skip to content

Releases: bridge-core/editor

v2.1.5

04 Oct 10:27
Compare
Choose a tag to compare

Features:

Bracket Pair Colorization

You can now let bridge. colorize matching brackets to make it easier to identify them. There is a new setting to enable bracket pair colorization.

Bildschirmfoto_2021-09-30_um_18 09 56

Fixes:

  • Fixed project export options on mobile
  • Fixed "Refresh Project" action taking long
  • Fixed terrain_texture.json JSON schema
  • Fixed error upon using some actions from the "Tools" toolbar item

v2.1.4

30 Sep 15:11
Compare
Choose a tag to compare

Features:

  • bridge. now uses the official gametest types

Changes:

  • Rewrote .bbmodel importer to be a bit more flexible

Fixes:

  • Fixed walkObject throwing error upon encountering "null" values
  • Fixed terrain_texture.json texture file auto-completions
  • Fixed armor preset
  • Fixed "New File" window not opening correctly (Thanks to @JacoFaberSA)
  • Fixed an issue that occurred when previewing models with "wrong" texture dimensions within their JSON file

v2.1.3

25 Sep 14:04
Compare
Choose a tag to compare

This minor update ships with important bug fixes and a few major new features.

Features:

Register BP as RP dependency

It is now possible to register the BP as a RP dependency over bridge.'s UI.

Bildschirmfoto 2021-09-25 um 15 54 17


Optional Merge Argument

You can now configure how custom components get merged into the main entity file over a third argument for the create function. Thanks to @Joeyrsp for implementing this new feature.

Bildschirmfoto 2021-09-25 um 15 54 58


Better Compiler Plugin Installation

Users now get informed that they need to edit the compiler config for compiler plugins to have an effect. Additionally, installed compiler plugins show the plugin name inside of the extension UI.

Bildschirmfoto 2021-09-25 um 15 56 34
Bildschirmfoto 2021-09-25 um 15 56 11


Default Author Setting

You can now configure a default author to be filled in whenever you create a new project.

Bildschirmfoto 2021-09-25 um 15 57 22


Asset Previews (Experimental)

You can now generate previews of your models with one click. Simply open the model preview and click on "Asset Preview" inside of the tab action bar. We are still looking to improve this feature by allowing users to configure the rendering process (quality, watermark, title etc.).

zombie_pigman


Preset Inputs

Preset authors can now allow file inputs to accept multiple files. Thanks to @jasonjgardner for implementing this new capability. Additionally, option inputs can now fetch their available options from the lightning cache.

Better External File Support

External files are files that do not belong to the current project. They are special because they shouldn't get compiled upon saving and we do not even know the full file path of them. We only have the file name and file content to determine the file type of such a file. With the new file type guessing capability in v2.1 (based on the available data), we were able to improve the experience while editing external files considerably already. With v2.1.3, external files also properly support dynamic auto-completions & dynamic file validations.

.bbmodel Imports

bridge. can now import textures and models from .bbmodel files. We are going to look into support for animations in the future. Thanks to @pascal541 for the implementation!

Changes:

  • Made disabled buttons an app drag region
  • It is now possible to import .mcaddon files over the "Import Project" actions
  • Exposed ThreePreviewTab to extensions
  • New "@bridge/three" module
  • Significantly improved performance of "New File" window
  • Significantly improved performance of model previews
  • Updated TypeScript
  • Updated ViteJS
  • Improved property validation
  • Moved model specific logic to "GeometryPreviewTab"

Fixes:

  • Fixed files not opening when block or ore preset is created with 1.16.100+ target version
  • Fixed "v1.17.40" min engine version injection
  • Fixed error upon saving files
  • Fixed experimental gameplay UI displaying wrong data
  • Fixed copy, cut & paste within inputs
  • Fixed infinite loading window when one preset failed to load
  • Fixed tree editor converting true/false to 1/0
  • interactions now allows passing an object instead of an array
  • Fixed error upon using converted v1 project
  • Fixed error upon updating non-JSON file
  • Fixed reloading of model previews
  • Fixed error upon opening preview tab
  • Fixed tab action bar overflow
  • Fixed simple .brproject imports
  • Fixed error upon instantiating block preview
  • Fixed geometry loading from multiple source files
  • Fixed "Restart Dev Server" option not working correctly
  • Fixed lightning cache not updating correctly
  • Correctly render models with wrong texture dimensions within JSON file

v2.1.2

16 Sep 17:05
Compare
Choose a tag to compare

Features:

  • Added support for .material files
  • Added support for auto-completions within target selector arguments
  • Added support for snippets within mcfunction, molang & JavaScript/TypeScript files
  • Added syntax highlighting for UI files
  • Added syntax highlighting for manifest files
  • Added syntax highlighting for the project config
  • Redesigned file picker
  • Updated data to latest beta

Changes:

  • "Simple File" presets now use the pack color
  • Exposed "unlinkFile" in "@bridge/project" module (Thanks to @aexer0e)
  • Added support for "particles_blend" particle material

Fixes:

  • Fixed folders requiring double click to expand
  • Fixed "com.mojang" drop inside of initial setup dialogue
  • Fixed command auto-completions after brackets
  • Fixed "enable_attachables" validation
  • Fixed file picker not focusing correctly
  • Fixed entity schema reference error

v2.1.1

14 Sep 19:43
Compare
Choose a tag to compare

This is a hotfix for an issue with custom component compilation on v2.1.

Fixes:

  • Fixed custom component compilation
  • Fixed TypeScript compilation error
  • Fixed version number not being clickable in collapsed title bar mode

v2.1.0 - "Anvil"

14 Sep 09:51
Compare
Choose a tag to compare

bridge. v2.1.0 - "Anvil" builds upon the great foundation of bridge. v2 to bring a bunch of new features and refinements to the editor. As always, thanks to everyone who made this release possible and to the people who tested this release by using our nightly build.

Features:

Better Entity Presets

bridge.'s presets no longer create a placeholder spawn egg image when you don't select an image. We instead use the client entity to set spawn egg colors directly.

Bildschirmfoto 2021-09-14 um 11 13 31


"com.mojang" Syncing Status

We now display the status of syncing projects to Minecraft's "com.mojang" folder inside of bridge.'s compiler window.

Bildschirmfoto 2021-09-14 um 11 14 16


Pack Explorer

We have added options for creating files and folders to the pack explorer's context menu. It is also possible to drag & drop files and folders inside of bridge.'s pack explorer now.

Bildschirmfoto 2021-09-14 um 11 14 45


New Export Options

bridge. now allows you to export a project in various formats: ".brproject", ".mcaddon", ".mcworld" and ".mctemplate". Additionally, extensions can register additional export options.

Bildschirmfoto 2021-09-14 um 11 15 18


New Import Options

It is now possible to add a new project by importing a ".brproject" file inside of the project chooser. You can also import ".mcaddon" files now by dragging them onto the app or by importing them over "FILE > Open File".

Bildschirmfoto 2021-09-14 um 11 15 44


Better JSON Syntax Highlighter

bridge. v2 now features a new JSON syntax highlighter similar to the one v1 provided. The new highlighter is available for both the tree editor and text editor.

Bildschirmfoto 2021-09-14 um 11 16 33


Better JSON Auto-Completions

Typing quotes within JSON files will now trigger bridge.'s auto-completions.

Bildschirmfoto 2021-09-14 um 11 17 35


Manifest Changes

bridge. now populates the "metadata" > "generated_with" object inside of pack manifests.

Bildschirmfoto 2021-09-14 um 11 18 19


Snippets

Extensions can now provide snippets that appear within the normal auto-completions. Whenever the user selects a snippet, bridge. will insert a whole block of JSON into the file.

Bildschirmfoto 2021-09-14 um 11 18 59


Better .mcfunction Support

bridge. now shows command documentation while navigating through a list of completion items. Additionally, we have brought back support for auto-completing scoreboard and tag names.

Bildschirmfoto 2021-09-14 um 11 19 55


MoLang AST Scripts

Users can now write short JavaScript/TypeScript snippets to modify MoLang scripts across the whole codebase.

Bildschirmfoto 2021-09-14 um 11 20 20


Adding Packs to Existing Projects

bridge. now supports adding new packs to existing projects.

Bildschirmfoto 2021-09-14 um 11 20 55


Embedded Command Completions

Starting with v2.1.0, you can make use of command auto-completions within JSON files.

Bildschirmfoto 2021-09-14 um 11 22 50


Combined Config File

The default compiler config for newly created projects is now part of the project config to make it easier to access. We still support loading additional compiler configs from the ".bridge/compiler/" folder and old projects will keep working as intended.

Bildschirmfoto 2021-09-14 um 11 23 29


Better Context Menu

We have added a new context menu for bridge.'s text editor. It now respects the current theme and supports displaying icons next to an action.

Bildschirmfoto 2021-09-14 um 11 41 25


Experimental Gameplay Toggles

You now have precise control over which experimental gameplay your project intends to use. Changing the experimental gameplay toggles within bridge. has effects on the files you can create and the auto-completions you get within files.

Bildschirmfoto 2021-09-14 um 11 24 22


Education Edition Support

You can now use bridge. to create content for Minecraft: Education Edition with the new "Education Edition" experimental gameplay toggle.

Bildschirmfoto 2021-09-14 um 11 37 27


Toggle Individual Files

You can now toggle the creation of per project files on or off inside of the new "Individual Files" section of the project creation window.

Bildschirmfoto 2021-09-14 um 11 28 42


Broad Browser Support

bridge. can now run on most browsers, including on mobile phones. You still get the best experience on Edge (Chromium) and Chrome (below Chrome 93) though as other browsers don't support "com.mojang" syncing, direct file system access and some other features due to technical limitations.

Bildschirmfoto 2021-09-14 um 11 26 49


Tab System Changes

Tabs now behave more similar to VS Code: By default, tabs no longer persist inside of your tab system meaning that they will close when you open a different file. Non-persistent tabs are now marked with italic font. Upon editing such a tab, it will persist inside of the tab system. We have made this change because it was previously very easy to flood the tab system with files the user doesn't intend to work on.

As the italic font is now used to indicated tab whether a tab is persistent, unsaved tabs are now marked with a small circular badge above the file icon instead.

Due to popular demand, bridge. v2 now also helps you tell the difference between two tabs with the same name by displaying a folder name below the file name. You can see the full file path by hovering over the file name.

Last but not least, tabs no longer display their full name if it would be too long (except for the currently selected tab). You can configure this behavior inside of bridge.'s settings.

Bildschirmfoto 2021-09-14 um 11 29 58

Bildschirmfoto 2021-09-14 um 11 30 50


Rich Project Display

Easily see which project you are currently working on with the new panel above the pack explorer that displays your project's name and pack icon.

Bildschirmfoto 2021-09-14 um 11 31 54


File Type Guessing

Files that have no association to a bridge. project now support advanced file highlighting, auto-completions and everything else you would expect from files within your project thanks to "file type guessing". This works by making educated guesses on the file type based on the file extension and file content, e.g. files with a ".json" extension and a "minecraft:entity" property are assumed to be entity files.

Bildschirmfoto 2021-09-14 um 11 32 50


Tree Editor Updates

  • Added back placeholder number auto-completions
  • Improved automatic input selection
  • Changed "Delete Node" keybinding
  • Support for drag & drop of JSON nodes
  • Setting to automatically expand JSON tree nodes upon clicking on them
  • Support for easily editing empty strings with auto-completions
  • Better handling of arrays & objects

Bildschirmfoto 2021-09-14 um 11 39 15


Updated Armor Preset

You can now configure which armor pieces the armor preset creates.

Bildschirmfoto 2021-09-14 um 11 38 21


Better Unsaved Status

bridge.'s text editor now correctly updates the "unsaved" status inside of the tab bar when navi...

Read more

v2.0.3

30 Jul 14:01
Compare
Choose a tag to compare

A hotfix to fix an issue with creating new files.

Changes:

  • Aligned virtual file system for internal data with Native File System Access API

Fixes:

  • Fixed preset creation
  • Fixed tab drag & drop

v2.0.2

29 Jul 15:41
Compare
Choose a tag to compare

This release should hopefully resolve most of the last remaining issues people had with bridge. v2. We also sneaked a few new features into this minor release.

Features:

Editing Project Config

We have added a new action that opens the project config file. This allows you to edit project attributes like the current project target version or project prefix. We still plan to incorporate these options into bridge.'s UI in the future.

Bildschirmfoto 2021-07-29 um 17 18 58


Added "minecraft:creative_category" Component

Thanks to @ExDrill for laying the groundwork for this feature. We now support the new "minecraft:creative_category" component for both items and blocks.

Bildschirmfoto 2021-07-29 um 17 28 18


View Compiler Output

We now support opening compiled files inside of readonly tabs. This allows you to easily confirm that bridge. compiled your file correctly.

Bildschirmfoto 2021-07-29 um 17 30 38


View Documentation

We have brought back the "View Documentation" right-click action to both v2's tree editor & text editor.

Bildschirmfoto 2021-07-29 um 17 34 09


New Data Loader

bridge. now updates its data instantaneously. This means that you no longer need to wait a couple of minutes after an app update rolled out to download the new data.


Recipe & Feature Presets

We now support selecting a recipe/feature type before creating a new file.

Bildschirmfoto 2021-07-29 um 17 53 51

Bildschirmfoto 2021-07-29 um 17 54 29


Traditional Chinese Translations

Thanks to @ivon852, bridge. is now available in Traditional Chinese.

Bildschirmfoto 2021-07-29 um 17 24 47

Changes:

  • Updated the mcfunction auto-completion experience
  • Disabled word based suggestions within text editor
  • Updated Dutch translations (Thanks to @pascal541)
  • Update game test types to latest beta
  • We now allow the usage of "." inside of file names
  • We brought back the notification that links to our "Getting Started" guide
  • We no longer delete the reference to your "com.mojang" folder if you do not grant bridge. access to it
  • Added "music" sound category
  • Updated Wintersky

Fixes:

  • Fixed /function auto-completions
  • Fixed "Install App" step not being selectable
  • Support for "~~~" and "^^^" within command tokenizer
  • Fixed input windows not translating input labels
  • Fixed usage of preset scripts within extensions
  • Fixed "tick.json" JSON schema
  • Fixed "minecraft:can_fly" validation
  • Fixed particle validation
  • Fixed compiler plugins not supporting "export default" correctly
  • Fixed preview boxes (Thanks to @pascal541)
  • Fixed custom commands with simple schemas not appearing inside of auto-completions
  • Fixed multiple errors upon using command auto-completions
  • Project target version input now resets correctly
  • Fixed RP as BP dependency toggle
  • Fixed error upon closing all tabs
  • Fixed image size inside of changelog window
  • Fixed render controller validation
  • Fixed "minecraft:render_offsets" validation
  • Fixed error upon previewing entity
  • Fixed usage of "meta" key for keyboard shortcuts on Windows

v2.0.1

20 Jul 15:32
Compare
Choose a tag to compare

We are releasing this small update to bring some of the most requested missing features from bridge. v1 over to v2. We have also fixed quite a few bugs to make your experience with bridge. v2 even better!

Features:

App Installation

We are introducing a prominent "Install App" button to the initial setup screen to help users downloading the application. We have previously received reports that users find it hard to install bridge. v2.

Bildschirmfoto_2021-07-19_um_15 14 14


Missing Auto-Completions

We have added support for the "minecraft:block_placer" item component and the "is_weather" entity filter.

Bildschirmfoto 2021-07-20 um 17 12 56


Better Dialogue Support

The "/dialogue" command now proposes scene names from dialogues defined inside of your project.

Bildschirmfoto 2021-07-20 um 17 20 52


More File Actions

bridge. v2 now allows you to rename and duplicate files right from the pack explorer! The "Delete" option now asks for confirmation before deleting files.

Bildschirmfoto 2021-07-20 um 17 24 57


Save As & Save All

You can now save all currently unsaved tabs at once or save a file under a different name. Additionally, we have added dividers to bridge. v2's toolbar menus to bring a bit more visual clarity to them.

Bildschirmfoto 2021-07-20 um 17 26 57


Tree Editor

The tree editor now supports copy, cut & paste.

Bildschirmfoto 2021-07-20 um 17 27 54

Fixes:

  • Fixed plugin API link and renamed it to "Extension API"
  • Fixed skin preset file names
  • Fixed schema reference error
  • Fixed schema script error caused by "entity/prefixedEntityEvent.json" file
  • Fixed invalid JSON error log from temporary cache update calls
  • Fixed infinite loading upon choosing "Save & Close" to close an unsaved tab
  • Fixed preview failing silently when source entity file contained invalid JSON
  • Fixed z-position of preview boxes (Thanks to @pascal541)
  • Fixed recipe schema error
  • Fixed error upon using custom command schema

v2.0.0 - "Beacon"

18 Jul 10:38
Compare
Choose a tag to compare

After over a year of work, we are happy to finally launch bridge. v2! Today, we are also releasing new documentation for bridge. v2 and bridge. v1.8.0, an update that eases the process of migrating existing projects to bridge. v2.
Thanks a lot to all the people who contributed to this milestone release: @Joelant05, @pascal541, @Gekocaretaker, @outercloudstudio, @7dev7urandom, @Chikorita-Lover and @KikiCreations.

We're going to highlight some of the major new features & changes in this post. For a detailed list of changes, you can browse through the changelogs of v2's pre-releases.

Installation

  1. Visit https://editor.bridge-core.app/ with a supported browser. (We recommend the new Edge based on Chromium)
  2. Click the install icon that appears inside of the URL bar.
    install
  3. bridge. v2 is now installed to your system. You can continue with the guided setup process.

For more help on how to get started, please refer to our getting started guide.

New App UI

bridge. v2 comes with a gorgeous redesign of all UI elements. This gives bridge. v2 a fresh new look and increases the usability of our UI.

Pack Explorer

Our new pack explorer combines all pack types into a single, color-coded sidebar area.

Bildschirmfoto 2021-07-18 um 11 02 39


Creating Files

Presets are now at the front and center of creating files. Presets allow users to quickly create all files necessary to get a feature working in game. They are perfect for e.g. quickly setting up a new entity, block or item. You can also see that all window sidebars now have an updated look and all content windows now offer the ability to quickly search for things.

Bildschirmfoto 2021-07-18 um 11 06 06


Extension Store

Our new extension store also received a visual overhaul and some significant functionality changes to make it easier to keep extensions up to date, disabling/enabling installed extensions and exploring the catalogue.

Bildschirmfoto 2021-07-18 um 11 11 14

Broader Bedrock Support

bridge. v2 now supports creating skin packs and world templates in addition to behavior and resource packs. We have also published an extension called "WorldHub" which allows creators to add multiple worlds to a project & pulling/pushing them from/to the com.mojang folder.

Project Structure

bridge. v2 moves projects out of the com.mojang directory by default. Additionally, all packs that belong to a project can be found inside of a single folder. This allows for very easy integration with version control systems like git and makes it easier to work on the project with other editors. A typical v2 project looks like this:

-- My Project/
--- .bridge/
--- BP/
---- ...
---- manifest.json
--- RP/
---- ...
---- manifest.json
--- SP/
---- ...
---- manifest.json
--- config.json

Compiler Architecture

Even though bridge. v2 no longer stores your project inside of the com.mojang folder, you still get the same seamless development experience if you have setup com.mojang syncing by dragging the folder onto bridge. v2. Upon making changes to the project folder, bridge. will re-compile the file and move it to Minecraft for testing. Because this process is fully automatic, you should never manually work on the add-on inside of the com.mojang folder because any changes might get overwritten. Always work with the project folder!

When you make changes to your project outside of bridge., you can refresh the project and bridge. will pick up any changes made with external editors and update the com.mojang output accordingly. This also works with file deletions & renames.

Bildschirmfoto 2021-07-18 um 12 02 09

Our compiler generally has two modes: "dev" and "build". The procedure described above always happens inside of "dev" mode. It is optimized for delivering fast & correct updates to all files that need to change whenever a source file inside of the dependency tree changes. The "build" mode compiles a full build that is ready for production inside of the "project/builds/dist/" folder. Some compiler plugins such as AnyLanguage are designed to only work inside of this compiler mode.

Editing

bridge. v2 finally allows developers to freely switch between editing JSON files as text or in a dedicated tree editor that prevents newer users from making syntax mistakes. We also added a global find & replace system and live previews of files while your are working on them.

Text Editor

We are using Monaco to provide the same incredible editing experience VS Code provides and we ship auto-completions & validations for all of Minecraft's JSON files.

Bildschirmfoto 2021-07-18 um 11 17 33


Tree Editor

Our new tree editor features support for multiple selections, direct/more natural keybindings (e.g. "Del" instead of "Ctrl + Del") and makes use of the same new JSON schemas our text editor uses for its auto-completions. We are looking to add better (more Minecraft-y) syntax highlighting to both our text editor and tree editor in the future.

Bildschirmfoto 2021-07-18 um 11 26 44


Live Previews

bridge. v2 ships with the ability to preview files while you edit them. This allows developers to find the perfect seat positions & collision/hit boxes without needing to jump into Minecraft. We support previewing particles, entities (components, models, particles & animations) and blocks (components & models).

Bildschirmfoto 2021-07-18 um 11 21 42


Global Find & Replace

This was one of the most requested features for bridge. v1. It proofed to be technically difficult to implement previously because of the cache system that was in place for the old editor. With our new codebase, we were finally able to add a global find & replace system!

Bildschirmfoto 2021-07-18 um 11 32 14

Extensions

We are proud to already feature some fantastic new extensions on bridge. v2's extension store.

  • We have compiler plugins for automatically generating the "texture_list.json" file for production builds or automatically generating all lang files based on the "en_US.lang" file
  • A lot of themes are already available for bridge. v2
  • @aexer0e's fantastic "Compact Prettier" changes the default "format on save" formatter to produce more compact output
  • There are fantastic UI extensions such as @jasonjgardner's texture set generator, the MoLang Playground or @aexer0e's Table2 extension for displaying & editing Google Docs Tables inside of bridge.

Bildschirmfoto 2021-07-18 um 11 36 11

Bildschirmfoto 2021-07-18 um 11 35 31