Skip to content

[1.3] Added a Damage Conversion Mode, resolved several conversion issues, and improved the program interface. | 新增了 damage 轉換模式,修復了一些轉換錯誤以及程式界面的改進

Latest
Compare
Choose a tag to compare
@RICE0707 RICE0707 released this 12 Dec 08:49
· 3 commits to main since this release

Version 1.3

Fixes

  • Resolved an issue in the Item Model Conversion Mode where all models were mistakenly converted to chest formats.
  • Fixed a potential error in Custom Model Data Conversion Mode when handling potion-related models.

Changes

  • Improved logic for detecting potion and chest models, increasing compatibility with various scenarios.

Updates

  • Added support for cmd + damage in Custom Model Data Conversion Mode.
    • Example: /give @s diamond[custom_model_data={floats:[1]}, damage=2]
  • Introduced damage handling logic in Item Model Conversion Mode.
    • Example: /give @s diamond[item_model="a/b", damage=2]
  • Added a new Damage Conversion Mode, which exclusively processes JSON files with damage values.
    • Example: /give @s diamond[damage=2]
  • Enhanced the program interface with:
    • Conversion mode descriptions and version number display.
    • Clickable File List entries, linking directly to corresponding JSON files.
    • A Report Issues and Suggest Features button for user feedback.

⚠️

Some features are missing in version 1.2.4. Please update to version 1.3 for full functionality!


版本 1.3

修正

  • 修復了進行 Item Model 轉換模式後,所有模型都為 chest 格式的錯誤。
  • 修復了 Custom model data 轉換模式中,針對 potion 可能發生的轉換錯誤。

改動

  • 優化了針對 potionchest 的判斷邏輯,適配更多情況。

更新

  • 針對 Custom Model Data 轉換模式,新增了cmd + damage的處理邏輯
    • 例如:/give @s diamond[custom_model_data={floats:[1]}, damage=2]
  • 針對 Item Model 轉換模式,新增了damage的處理邏輯
    • 例如:/give @s diamond[item_model="a/b", damage=2]
  • 新增了 Damage 轉換模式,這個模式只會處理帶有 damage 的 json
    • 例如:/give @s diamond[damage=2]
  • 優化了程式界面
    • 為程式界面新增了轉換模式說明,以及版本編號。
    • 程式界面中的 檔案列表 將可以被點擊,指向對應的 json 檔案。
    • 於程式界面中新增 回報問題與功能建議 按鈕。

⚠️

在 1.2.4 版本中,轉換器具有部分功能缺失,請更新至 1.3 版本!