Releases: bridge-core/editor
v2.2.6
Features:
- Added a new toggle to show all presets
- Drastically improved performance of custom component schema generation
- Updated data to latest Minecraft beta
- Added a new setting to control whether bridge. should automatically increment your add-on's version upon export
- Added "numeric" preset field validation option (#387)
Changes:
- Files now get deleted faster
- Big improvements to the client animation schema
- Updated Japanese and Dutch translations (Thanks to @toka7290 & @pascal541)
- bridge. now only stores the most recent app version within the manifest's "generated_with" field
- Added "set_block_at_pos" block event auto-completions (#391)
- Allow file name to be changed on import (#392)
- Improved priority auto-completions within entity behaviors
- Tree Editor: partial support for "default" schema property
- Presets: "expandFile" now replaces preset variables before merging
- Improved "minecraft:buoyant" validation
- Improved public variable declaration validation inside of client entities
- MoLang: Support more queries by default (query.in_range, query.any, query.all, query.count and query.self; #399)
- MoLang: Support "" for strings within .molang files
- MoLang Functions: Support for scoped structs
- MoLang: Throw error if function expression isn't followed by semicolon
Fixes:
- Fixed bridge. Predictions: Correct type inference for unknown values (#344)
- Dash: Fixed "compileFiles" API being able to write files
- Fixed "fileSave.any" event not firing correctly
- CompilerService: Fixed error upon starting bridge.
- Fixed ghast preset error
- Fixed negative notification batch (#384)
- Fixed block previews (#382)
- Fixed particle previews
- Fixed armor preset
- Fixed description of "mojang-minecraft-ui" module inside of manifests
- Fixed GameTest preset referencing TypeScript files
- "max_stack_size" component now proposes integers
- Fixed functions with uppercase letters not working
- Fixed MoLang's context switch operator not supporting callable queries
v2.2.5
Features:
New Compiler Window (#182, #350)
We have added a new compiler window that supports configuring bridge.'s watch mode, seeing the latest logs from bridge.'s compiler and choosing a build profile. We are also working on integrating support for multiple output directories to this window to properly support the new Minecraft Preview program but this work isn't quite ready just yet.
Better Texture Auto-Completions (#363)
bridge. now proposes all images it can find within your resource pack wherever an image path is valid. Previously, the proposed values where restricted to subfolders, e.g. "textures/blocks/" for blocks or "textures/items/" for items.
Changes:
- Added "pickup_only" property to "minecraft:sahreables"
- Updated item groups (Thanks to @Chikorita-Lover)
- Updated data to v1.18.20.27
- Support for min/max values within targetVersion matcher
- Improved display of app title
- ProjectChooser input now automatically receives focus
- Allow more characters within project name (#284, #273)
- Extensions can now define a min/max version of bridge. required to run the extension (#241)
- Renamed "Restart Dev Server" to "Restart Watch Mode"
Fixes:
- Fixed error upon invalid pack path within config
- "specific_enchants" loot table function now also supports a single integer value
- Fixed error upon creating asset preview
- Fixed addition of a file not triggering compilation (#347)
- Properly select filter matches without sidebar category
- Fixed ref error within attachable schema
v2.2.4
Features:
- Added dynamic event references to more entity components
- Updated data to latest Minecraft beta
- The built-in file picker now uses fuzzy search instead of strict string matches (#288)
Changes:
- Client Entity Validation:
scripts/animate
requires at least one child - Updated armor preset (Thanks to @Chikorita-Lover)
Fixes:
v2.2.3
Features:
Initial Boot Screen (#330)
There's now a new loading screen that shows up when you start bridge.
Dash Updates
- Dash no longer crashes when a plugin throws an error
- Throw detailed error when encountering an invalid command
- Support for Molang AST scripts within virtual ACs (#304)
- Support for hot updating virtual files
- Support for omitting files via "finalizeBuild" hook
- New built-in plugin: "rewriteForPackaging"
Changes:
- We now log the current app version and platform to the console
- ".mcaddon" files may now contain ".mcpack" files (#272)
Fixes:
- Fixed invalid JSON error connected to the dash cache file
- Fixed aliases not being correctly restored from Dash's cache file
v2.2.2
Changes:
- Updated zh_CN translations (Thanks to @MiemieMethod)
- Fogs are no longer locked behind the "upcomingCreatorFeatures" toggle
- Experimental event responses are now locked behind the "holidayCreatorFeatures" toggle
- Dash: "include" hook can now reference virtual files (
['path/to/some/file.txt', ['path/to/another/file.txt', { isVirtual: true }]]
) - Dash: readJson now throws more precise errors
Fixes:
v2.2.1
v2.2.0 - "Dispenser"
bridge. v2.2.0 - "Dispenser" ships with our new compiler called Dash and support for the latest Minecraft Beta. As always, thanks to everyone who made this release possible and to the people who tested this release by using our nightly build.
Features:
Improved .mcfunction Highlighter
bridge. now properly supports highlighting selector arguments and bracket pair colorization now works within .mcfunction
and .molang
files.
Support Variable Pack Paths
bridge. now respects the pack paths defined within your project config.
Updated Data to Latest Beta
bridge.'s data has been updated to the latest Minecraft Bedrock Beta.
- Support for
/loot
command - Support for
/damage
command - New experimental gameplay toggle: "The Wild Update"
.bbmodel Texture Location Chooser
You can now choose where to save textures from .bbmodel
files.
Better TGA Support
Thanks to @jasonjgardner for implementing support for previewing .tga
textures within bridge.
New Locales
Thanks to @toka7290 for adding Japanese translations and @MiemieMethod for updating the Chinese Simplified translations.
Find in Folder
It is now possible to search for text within specific folders.
Short Name Generation
Client entity files now generate proposals for short names for animations, render controllers, textures etc.
Better JSON UI Support
Thanks to @KalmeMarq for contributing this new & dramatically improved JSON schema.
Open in Split Screen
There's a new "Open in Split Screen" and a new "Open File" action upon right-clicking a file.
bridge. Predictions (#105)
We have brought back bridge. Predictions to our tree editor making it even easier to create Minecraft add-ons.
Custom Command Updates
It is now possible to create custom commands that reference other custom commands (e.g. a custom /execute
command).
Changes:
- A newline character now triggers auto-completions within
.mcfunction
files - Changed file type definition format
- Improved cursor navigation with
.mcfunction
files after selecting json, block state or score data completion item - Reorganized feature and spawn rule schemas
- Updated entity filter descriptions
- Added descriptions for dialogue files
- Added support for
minecraft:forced_features
biome component - Added support for
hide_armor
within client entity schema - Support for adding sounds to a project (Thanks to @FrederoxGit)
- Updated "Restart Dev Server" warning
- Added
inlineSourceMap
option to TypeScript plugin (Thanks to @aexer0e) - Made context menu appear/disappear faster
- Exposed model viewer to extensions
- Blocks: Support for built-in material instances
- Loot tables: Support for
match_tool
condition - Exposed project namespace to custom components
- Improved tree editor rendering performance
- Better auto-completions for
minecraft:is_saddled
and similar components - Various improvements to entity auto-completions (#233)
- Support for objects within entity trigger event response (#250)
- Renameable folders (Thanks to @pascal541; #251)
- Support for importing
.zip
files (#221) - Support for creating top-level folders (#255)
- Added
smithing_table
recipe tag - Improved logic that determines whether it is necessary to update the JSON highlighter
- Dash is now being added to the manifest's
generated_with
field - bridge. now starts significantly faster
- Model previews: Enabled antialiasing
- Improved pack indexer performance while updating multiple files
- Adressed #228
- bridge. should now properly work offline
- Added setup instructions to "com.mojang not setup yet" message
- Support for upgrading virtual FS projects to real FS
Fixes:
- Dialogues: Fixed
on_open_commands
/on_close_commands
- Presets: Fixed invalid file extension when importing files
- Recipes: Properly include custom item identifier within auto-completions
- GameTests: Fixed registration of main module
- Fixed base game version generation inside of manifest files
- Fixed error upon deleting contents from a JSON file
- Fixed "scores" argument not appearing within auto-completions
- Fixed "class" being highlighted within JSON files
- Presets now properly refresh upon changing the config
- Fixed image preview overflow
- Fixed compilation failing with invalid
.molang
files - Fixed error upon adding pack to project
- Fixed error upon creating snowball preset
- Fixed event auto-completions breaking after invalid JSON
- Do not upgrade config on other threads
- Fixed cow preset
- Fixed reference error within attachable schema
- Properly include custom particle identifiers within entity particle definitions
- Properly support recipe pattern strings with less than three characters
- Fixed typo within manifest schema
- Fixed incorrect action description
- Fixed reference error within feature rule schema
- Fixed error upon using GoTo definition
- Fixed error upon using tree editor
- Tree editor: Fixed schema references starting with
#/
- Fixed custom component's
sourceBlock()
hook - Fixed custom component's
compilerMode
API for blocks - Fixed broken syntax highlighting after switching editor type
- Fixed command tokenization of strings
- Fixed
minecraft:biome_filter
auto-completions - Fixed compiler plugin
finalizeBuild
hook when plugins don't implement it correctly - Fixed custom geometry preset
- Fixed incorrect type for
basic_render_parameters
within particle preset - Fixed error upon importing
.mcaddon
file - Fixed lightning cache occasionally losing data
- Fixed bug where the
config.json
file would disappear after editing it - Fixed
com.mojang
syncing not working properly - Fixed auto-completions not working in files that have a space within their file path
- Fixed tree editor proposing property auto-completions within arrays
v2.1.5
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.
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
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
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.
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.
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.
Default Author Setting
You can now configure a default author to be filled in whenever you create a new project.
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.).
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
to1
/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