Conversation
|
我也不知道为什么 |
| } | ||
| } | ||
|
|
||
| public record WorldPath(Path worldPath, String worldType) { |
There was a problem hiding this comment.
Record 会由 javac 自动生成 getter, equals, hashCode 方法,无需二次定义
| * @author Xiaotian | ||
| * @see <a href="https://minecraft.wiki/w/Region_file_format">The Region file format</a> | ||
| */ | ||
| public static class WorldParser { |
There was a problem hiding this comment.
所以你声明了一个新的工具类,那你会准备如何将向用户呈现他们呢?我没看到相关 UI 内容
|
和我的计划有冲突(。>︿<)_θ,我打算实现区块读取和存储的(为NBT editor #5095),不过应该没有这个深入?我的现在计划是按我的原计划继续写,最后再看看如何处理,是保留两个不同的类还是合并。 |
|
合并吧 我本意就是要和NBTEditor合并,但由于HMCL NBTEditor开发进度不能满足我的需求(还是我没发现其实NBTEditor有我想要的功能?),我先搓了一个凑合:D
|
| @@ -203,8 +203,11 @@ private Color getColor(@NotNull String blockName) { | |||
There was a problem hiding this comment.
有几个问题我没法擅自做主:
1.究竟是给整个区块上色,还是给每个方块都上色
2.方块颜色究竟是在HMCL内部内置常用色表,还是从assets中读取后取色,或者两种方案融合
| } | ||
|
|
||
| public void renderMainLoop(){ | ||
| while (isRendering()) { |
| } | ||
|
|
||
| // Configure coordinate label style | ||
| coordinateLabel.setStyle("-fx-font-size: 14px; -fx-text-fill: white; -fx-background-color: rgba(0,0,0,0.7);"); |
There was a problem hiding this comment.
将会接入HMCL SheetStyle
但现在不考虑
|
功能演示
|
|
也可以
|
|
说真的,加载速度很ok了 |
|
喜报!
|
|
现 两个分支如下:
|



解决了Issue #5495 的部分问题