Skip to content

Tweaks n stuff plugin 1.2.0 - #1023

Open
legopitstop wants to merge 14 commits into
JannisX11:masterfrom
legopitstop:tweaks_n_stuff-plugin
Open

legopitstop wants to merge 14 commits into
JannisX11:masterfrom
legopitstop:tweaks_n_stuff-plugin

Conversation

@legopitstop

Copy link
Copy Markdown
Contributor

This update to Tweaks & Stuff adds new tweaks:

Notes

Add a note to any element, and group.

notes

Bedrock Block

Adds a File > Import action to open the geometry referenced by a Bedrock block JSON file.

bedrock block

Bedrock Entity

Opens geometry and custom hit test boxes from a behavior pack entity JSON file.

bedrock entity

Clear Recent Projects

Adds a button beside Recent on the main screen to clear the recent projects list.

clear recent projects

Bedrock Open All

Adds a 'Open All' button when opening a bedrock geometry file that contains multiple models.

bedrock open all

- Implemented a new plugin "Tweaks & Stuff" for Blockbench.
- Added core functionalities including chunk generation, project management, and UI tweaks.
- Introduced multiple settings for user customization such as header color, tab management, and note-taking features.
- Created utility functions for better handling of asynchronous operations and error wrapping.
- Added support for multiple languages with empty JSON files for future translations.
- Established a build process using esbuild for optimized output.
- Included TypeScript definitions for enhanced type safety and development experience.
…atures

- Removed unused variable `clicks` from index.ts.
- Added new settings for Bedrock Block Geometry and Clear Recent Projects in en.json.
- Implemented BedrockOpenAllTweak to open multiple geometries from a dialog.
- Created BedrockBlockGeometryTweak to import geometry from Bedrock block JSON files.
- Added ClearRecentProjectsTweak to clear the recent projects list with a button on the main screen.
- Updated notes handling in NotesTweak to ensure project notes are correctly managed.
- Introduced a new tweak for opening Bedrock Entity Geometry files, allowing users to import geometry and custom hit test boxes from behavior pack entity JSON files.
- Added UI elements for saving custom hit test boxes back to the source behavior pack entity file.
- Updated the English language file to include descriptions for the new entity geometry settings.
- Refactored the Bedrock Block Geometry tweak to remove unnecessary code and improve functionality.
…diting

- Updated header color tweak to handle optional dialog id check.
- Expanded notes functionality to support per-element notes, allowing users to add, edit, and manage notes associated with specific elements.
- Introduced inline editing for notes, enabling users to modify notes directly within the interface.
- Improved note visibility settings and added a toggle for showing/hiding element notes.
- Refactored note handling logic to ensure proper synchronization across sessions and projects.
- Updated TypeScript definitions to reflect changes in the notes structure within the ModelProject interface.
- Adjusted workspace configuration for better organization and accessibility.
- Implemented BedrockBlockGeometryTweak to handle loading and saving geometry for Bedrock blocks, including collision and selection boxes.
- Added functionality to open Bedrock block JSON files and extract geometry references.
- Created BedrockEntityGeometryTweak for managing custom hit test boxes in Bedrock entity files.
- Introduced methods for loading entity data, saving hitboxes, and integrating with Blockbench's menu actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant