Releases: BrilliantTeam/Minecraft-ResourcePack-Migrator
[1.3] Added a Damage Conversion Mode, resolved several conversion issues, and improved the program interface. | 新增了 damage 轉換模式,修復了一些轉換錯誤以及程式界面的改進
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]
- Example:
- Introduced
damage
handling logic in Item Model Conversion Mode.- Example:
/give @s diamond[item_model="a/b", damage=2]
- Example:
- Added a new Damage Conversion Mode, which exclusively processes JSON files with
damage
values.- Example:
/give @s diamond[damage=2]
- Example:
- 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 可能發生的轉換錯誤。
改動
- 優化了針對 potion 與 chest 的判斷邏輯,適配更多情況。
更新
- 針對 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 版本!
[1.2.4] Fixed block and potion conversion. | 修復方塊、藥水類轉換
Version 1.2.4
- Correctly handles
"parent": "minecraft:block/*"
to prevent vanilla block texture loss. - Added conversion support for potion, splash_potion, lingering_potion, chest, and trapped_chest.
Special thanks to: Titanet Server - for providing the resource pack for testing.
⚠️
For spawn_egg
, my converter does not plan to apply any special handling.
This is because in 1.21.4, spawn_egg
introduced a new tints
parameter, where the value
differs for each spawn_egg
.
I don't intend to define the value
for every single spawn_egg
, as it would be too tedious.
版本 1.2.4
- 現在會正確處理
"parent": "minecraft:block/*
,避免香草方塊材質遺失 - 新增處理 藥水、飛濺藥水、滯留藥水、儲物箱、陷阱儲物箱 的轉換
特別感謝:Titanet Server - 提供資源包測試
⚠️
針對 生怪蛋
,我的轉換器不打算進行特殊處理,
這是因為在 1.21.4 中,生怪蛋
新增了 tints
參數,而其中的 value
值,根據每一個 生怪蛋
,都有所不同,
我不打算針對每一個 生怪蛋
進行 value
值的定義,這太麻煩了
[1.2.3] Added crossbow conversion and cleaned up the code. | 新增弩的轉換,並整理代碼
Version 1.2.3
- Added conversion logic for crossbows.
- Refactored conversion code for better clarity.
版本 1.2.3
- 新增對於【弩】的轉換判斷
- 重構轉換代碼,使其更加整潔
[1.2.2] Relative Path Model Fix | 修復相對路徑模型處理
Version 1.2.2
- Fixed an issue where relative path model files were not properly processed in Item Model conversion mode
- Improved models/item folder handling to preserve subfolder structures
- Enhanced file movement and conversion workflow
版本 1.2.2
- 修復了 Item Model 轉換模式下,無法正確處理相對路徑模型檔案的問題
- 改進了 models/item 資料夾的處理邏輯,現在會保留子資料夾結構
- 優化了檔案移動和轉換的處理流程
[1.2.1] Special handling for bows. | 特殊處理物品:弓
Version 1.2.1
- Special handling for bows during conversion to prevent animation loss.
版本 1.2.1
- 在轉換時,針對弓進行特別處理,避免動畫遺失。
[1.2] Added minecraft:block/* Path Support | 新增 minecraft:block/* 路徑支援
Version 1.2
New Features
- Added support for
minecraft:block
path handling in Custom Model Data conversion mode
版本 1.2
新增功能
- 在 Custom Model Data 轉換模式中新增了對
minecraft:block
路徑的支援
[1.1] Item Model Conversion Mode | Item Model 轉換模式
Version 1.1
New Feature: Item Model Conversion Mode
Added a new conversion mode that transforms CustomModelData entries into individual model files:
New Features
- Added Item Model conversion mode
- Added mode selection in both GUI and command line interfaces
- Added support for namespace:path format in model paths
Item Model Mode Details
- Converts each CustomModelData entry into a separate file
- Creates directory structure based on model paths
- Supports both regular paths and namespaced paths
- Example conversions:
custom_items/cat_hat/cat_hat_black
→assets/minecraft/items/custom_items/cat_hat/cat_hat_black.json
blockentities:item/wood_chair
→assets/minecraft/items/blockentities/item/wood_chair.json
GUI Changes
- Added conversion mode selection radio buttons
- Updated conversion logic to handle both modes
Documentation
- Added new mode description in README
- Updated examples with both conversion modes
Technical Changes
- Refactored conversion logic to support multiple modes
- Improved error handling for model paths
- Enhanced folder structure management
版本 1.1
新功能:Item Model 轉換模式
新增了一種將 CustomModelData 條目轉換為獨立模型檔案的轉換模式:
新增功能
- 新增 Item Model 轉換模式
- 在圖形介面和命令列介面中新增模式選擇
- 新增對模型路徑中 namespace:path 格式的支援
Item Model 模式細節
- 將每個 CustomModelData 條目轉換為獨立檔案
- 根據模型路徑建立目錄結構
- 支援一般路徑和命名空間路徑
- 轉換範例:
custom_items/cat_hat/cat_hat_black
→assets/minecraft/items/custom_items/cat_hat/cat_hat_black.json
blockentities:item/wood_chair
→assets/minecraft/items/blockentities/item/wood_chair.json
圖形介面更新
- 新增轉換模式選擇按鈕
- 更新轉換邏輯以支援兩種模式
文件更新
- 在 README 中新增新模式說明
- 更新兩種轉換模式的範例
技術更新
- 重構轉換邏輯以支援多種模式
- 改進模型路徑的錯誤處理
- 強化資料夾結構管理
[1.0] Add GUI and executable support | 新增圖形介面與執行檔支援
🆕 New Features / 新功能
-
Added graphical user interface for easier operation
新增圖形使用者介面,操作更加便利 -
Added executable file support with auto-folder creation
新增執行檔支援,自動建立必要資料夾 -
Added multilingual support (English/中文)
新增多語言支援(英文/中文)
📦 Build Instructions / 建構說明
-
Install required packages / 安裝必要套件:
pip install pyinstaller rich
-
Run build script / 執行建構腳本:
python build.py
🔍 Note / 注意事項
- The executable requires administrator privileges
執行檔需要管理員權限執行