Releases: bridge-core/editor
v2.2.8
Features
Asset Preview (#130)
We have updated bridge.'s asset preview to add new features, such as hiding individual bones, choosing a texture before export and adding a watermark to your preview. All of these options can be configured in the new "Asset Preview" window.
- Added support for "else" schema field in the tree editor (#408)
- Support for .mcpack file imports (#123)
- Added a new built-in compiler plugin "formatVersionCorrection" which maps format versions into ones that work inside of Minecraft, e.g. "1.18.30" is unsupported in blocks and will be mapped to "1.18.0" in the compiler output (#386)
Changes
- Added new molang locations for 1.19.0 entity components
- Added more syntax highlighting to JSON files which were missing it before
- A link to bridge.'s Twitter account can now be found under the "Help" toolbar menu
- Included 1.19.0 Molang queries in embedded Molang schema
- Better file detection when importing animation files to differentiate between client and server animations (#83)
- Bumped various dependencies
Fixes
v2.2.7
Features:
- Added types for "mojang-minecraft-ui" module
- Simplified the file import process by unifying folder selection and file renaming window (#406)
Changes:
- Updated Chinese translations (Thanks to @MiemieMethod)
- Improved "config.json" schema
- bridge. now falls back to oldest schema if no "format_version" is set
- Added file icon for "tick.json" file
- Updated GameTest types
- Updated data to latest 1.19 Minecraft Preview
- Improved entity schema
- Blocks: Added descriptions for "material_instances" > "render_method" values
- Removed support for the old scripting API (#322)
- Bumped various dependencies (Three, Wintersky, MoLang, bridge-model-viewer, mc-project-core)
Fixes:
- Fixed validation error in geometry schema when "minecraft:geometry" is an array
- Fixed scatter feature validation error
- Removed reference to old GameTest module
- Fixed incorrect validation in render controller schemas
- Fixed boolean values converting to integer in tree editor edit input (#410)
- Fixed file moving not updating in file system (#405)
- "~" is no longer allowed within project names
- Fixed certain characters within project name breaking text editor auto-completions (#411)
- Fixed rename file action on windows (#413)
- Tree Editor: Infer value type from available suggestions if possible (#385)
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