Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for RICE0707

A tool designed to convert Minecraft resource packs from older versions (1.14) to 1.21.4+ format.

Report ItemModel_PackConverter?

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_blackassets/minecraft/items/custom_items/cat_hat/cat_hat_black.json
    • blockentities:item/wood_chairassets/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_blackassets/minecraft/items/custom_items/cat_hat/cat_hat_black.json
    • blockentities:item/wood_chairassets/minecraft/items/blockentities/item/wood_chair.json

圖形介面更新

  • 新增轉換模式選擇按鈕
  • 更新轉換邏輯以支援兩種模式

文件更新

  • 在 README 中新增新模式說明
  • 更新兩種轉換模式的範例

技術更新

  • 重構轉換邏輯以支援多種模式
  • 改進模型路徑的錯誤處理
  • 強化資料夾結構管理

Information

Published
December 7, 2024
Author
11Downloads

Platforms

Paper
Paper
1.14–1.21.4