github JannisX11/blockbench v4.6.0
4.6.0 - The Animation Controller Update

latest releases: v4.11.1, v4.11.0, v4.11.0-beta.3...
20 months ago

Welcome to Blockbench 4.6 - The Animation Controller Update!

Animation controller editor

Blockbench 4.6 introduces a brand new interface to edit animation controllers for Minecraft Bedrock Edition.

image

Generally, animation controllers are handled similarly to animations.
They are automatically imported when loading a model, based on the client entity file. You can also import them using the Import Animations button.
Selecting an animation controller brings up the editor, where, on new controllers, you can pick a controller preset. Once your controller has states, you can arrange and edit them, create transitions, and preview the animations.

https://bedrock.dev/docs/stable/Animations#Animation%20Controllers

  • Please note that animations use short names in animation controllers to link them to a state. Blockbench cannot edit the client entity file at this time to change these short names, so you need to manually make sure that they are correct in there. Blockbench automatically assumes the last part of the animation ID to be the short name, but you can also change it manually.

Preview

  • Use the buttons at the top to change the animation controller preview playback.
    1. By default, it is on Manual, which lets you click on a state to preview the transition and animation.
    2. Paused will pause the animation controller preview entirely.
    3. Setting it to Auto Play will automatically transition between the states by evaluating the transitions.
      • Use the new button type impulse to trigger respective transitions. Example: variable.attack_time = impulse('Attack')
  • At the moment, recursively playing animation controllers won't preview.
  • Also, preview for start_delay and loop_delay is not implemented but planned for the future.
  • The "Blend by Shortest Path" option also has no effect on the preview at the moment.

Transitions

  • Transitions are displayed as connection lines above and below the states. Where the transitions going towards the right are displayed below the states, and the transitions looping back to the left are displayed above the states.
  • You can click on a connection line to select the other state and preview the transition.
  • You can double click a connection line to jump to the transition and edit the condition.
  • Click and drag on the connection port of a state (the blue shape at the top and bottom of a selected state) to create a connection to another state. Alternatively, use the plus button in the Transitions list.

Options

  • You can add animations to a state. Animations consist of a linked animation (optional) for preview, a short name (used by Minecraft), and a condition / blend value (also optional).
  • You can add particles and sound effects, just like you can with keyframes.
  • Under On Entry and On Exit, you can add a Molang script to run on transitions.
  • Lists can be re-arranged by dragging the gray rectangle on the left side.

Settings Profiles

Settings profiles let you define profiles that override specific settings based on a condition

image

Here are a few example use cases that you could use them for:

  • Create a Recording profile for recording videos. The profile could scale up the interface to be easier to read on videos, enable Streamer Mode to hide your sensitive information, etc.
  • Create a profile for a specific format or to files in a specific directory. Change whether project files are minified, how often automatic backups are created, or how big default cubes are.
  • Create a profile for another user who has different preferences and another user name in edit sessions, or another Sketchfab account.

How to use profiles

  1. Open the settings menu
  2. Create or select a profile in the top right corner, above the search bar.
  3. Change the value of a setting. The setting will highlight in the color of the profile, indicating that the profile is changing the setting.
  4. You can press the X button to clear the profile override of a setting again.
  5. Switch back to the profile "None" to see and edit the master values of the settings.

Profile condition types

There are different types of conditions for profiles, and more might be added in the future:

  • Manually Selectable: Manually choose the profile from File > Preferences > Profiles, or using the button in the window frame.
  • Format: Enable the profile if a specific model format is used.
  • File Path: The profile is enabled when editing files or projects that match the file path. The condition value uses regular expression syntax, forward slashes separate the directory names, case is ignored. Example: my-project/.+\.json$ matches JSON files in the my-project directory.

Bézier keyframe interpolation

4.6 introduces bézier keyframe interpolation. The option can be selected from the keyframe interpolation menu. It adds two handles to the keyframe for each axis in order to change their curve.

Bézier keyframes should be used along with the Graph Editor in order to adjust their control points

  • The two handles can be locked together and unlocked by right clicking the keyframe and changing the option in the context menu.
  • Bezier keyframes are baked on export in all formats that support animations. In Minecraft Bedrock animation files, they are baked too, but optimized in order to create fewer keyframes when possible. This should still be kept in mind when creating animations, since sine curves or catmull rom (Smooth) keyframes can create more optimized files.
  • You can choose whether to show or hide the handles of not selected bezier keyframes in the settings.

image

Other new features

  • Added mesh cluster selection mode
  • Added looped playback toggle
  • Added RGB color sliders and color picker options menu
  • Added additive texture view mode
  • Added render sides option per texture
  • Added UI mode setting
  • Added ability to import bedrock entity files in order to open the model
  • Added "impulse" button type to placeholders
  • Ability to paint through transparent pixels (#875)

Changes

  • New tab overview screen
  • Multiple dialogs can now stay open at once
  • Added armor stand ground display presets
  • Color coded display mode sliders
  • Improve start screen loading order, the backup section now shows up instantly when available
  • Update and improve display skin selecting
  • Faces and edges can now be selected individually rather than vertex based (#1050)
  • Make focus on selection shift camera by default (#1498)
  • Added keyboard modifier menu in tablet mode
  • Added a warning when scaling box UV models (#1701)
  • Hide 0 width Box UV faces in UV editor
  • Hide UV-related context menus in image editor
  • Render images smooth in editor when image smaller than screen
  • Enabled blend modes on fill and shape tool (#1657)
  • Support unhandled fields and render_type in java block/item format
  • Added render sides and render mode options to texture properties dialog
  • Added orientation option in image extruder
  • Added Option to embed textures in bbmodel file (#907)
  • Display UV and Element panels when no elements selected
  • Let new cubes and meshes inherit parent marker color
  • Allow selecting appimage files as image editor
  • Improved startup performance
  • Improved element performance

GIF Recorder update

  • GIFs now record without anti aliasing by default to improve render quality and reduce artifacts
  • Added Pixelate option
  • Added background image option (#1432)
  • Added option to record as Animated PNG (APNG)
  • Added option to record as PNG sequence (#1521)
  • GIF size in KB or MB is now displayed in the screenshot result dialog.
  • Improved recording performance

Molang features (MolangJS 1.6)

Technical changes

  • Added ShapelessDialog API for shapeless dialogs such as the new tab overview
  • Removed Jimp library
  • Added selected condition in Condition API
  • Update material icons
  • Allow plugins to be installed from URL queries
  • Added additional event hooks (#1655)

Fixes

  • Fixed #1692 Closing other tab closes "New Tab"
  • Fixed locators and nulls not updating when flipped
  • Fixed #1675 Fix default context menu in Firefox
  • Fixed links not correctly underlined in Firefox
  • Fixed cubes forced to box UV when generating box UV template
  • Fixed template generator suggesting invalid resolution presets
  • Fixed pasted cubes not switching to required UV mode
  • Fixed error when loading animation with no matching element
  • Fixed comment in 1.17 modded entity template
  • Fixed vertex snap for individual vertices not working in some cases
  • Fixed export scale setting not applying to OBJ format
  • Auto export keyframe with slight rotation when bone is relative to entity
  • Fixed #1694 hovering over the borders of a texture shows the brush outline in the wrong place
  • Fixed min max not working correctly for number settings
  • Fixed typo in "Face Properties"
  • Fixed textures not updating correctly when painting across multiple textures in one stroke
  • Fixed #1682 Bidirectional resizing can create negative cube size
  • Fixed #1697 copy paste overlay remains after switching tool
  • Fixed #1686 skin poses inconsistent when cubes invisible
  • Fixed playback of animated textures with per-frame frame time
  • Fixed incorrect molang validation of ternary conditional operators
  • Removed Transparent from cube texture menu (#1722)
  • Fixed #1664 by adding special "Turtle" skin preset for Minecraft java edition
  • Fixed rotation order in dae and fbx export
  • Fixed model memory data not loading correctly
  • Fixed #1708 Textures missing when importing java block
  • Reset variables when switching animations and modes (#1489)
  • Fixed #1073 Issue when dissolving some edges

Don't miss a new blockbench release

NewReleases is sending notifications on new releases.