HMCL-dev / HMCL-dev/HMCL

[Feature] 世界区块预览/编辑功能

Open
#5,495 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary

HMCL内预览、复制、删除、导出世界区块
可能还支持接入HMCL NBT Editor编辑单个方块?

原因 | Reason

在HMCL内预览、复制、删除、导出世界区块,而不用使用第三方工具

详情 | Description

如图:

Image
  • 解析区域和区块数据
    • 定位并读取区域文件
    • 解压缩区域文件
      压缩算法: LZ4 GZIP Zlib 不压缩
  • 解析方块数据
  • 渲染
    • 区块取色
    • 缓存区块色
    • canvas绘制
  • 完善UI
  • 保存逻辑
  • 多线程
  • 优化性能

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing region and chunk parsing, block-data rendering, canvas drawing, caching, and multithreading work described in the issue. Done would require the unfinished UI, save logic, and performance optimization, with the scope of NBT Editor integration clarified first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.