Colorspace Viewer
这是什么?
这是一个数据包,用于以多种不同的色彩空间显示方块。每个方块的位置是根据其所有面的平均像素颜色计算得出的。
目前支持 5 种色彩空间(HSV、LAB、LUV、RGB、XYZ)。在建造和挑选调色板时,每种色彩空间都有其自身的优缺点。尝试所有不同的选项,找出最适合你的那一种。
使用方法
与所有数据包一样,你需要将此文件添加到世界的数据包文件夹中,可以在创建世界时添加,也可以在世界保存文件夹中找到你的世界,并手动将其放入其中的 datapacks 文件夹里。
安装好数据包后,你可以打开世界,并选择一个你想要粘贴色彩空间查看器的区域。你需要确保玩家向东有 100 个方块的空间,向南有 100 个方块的空间,以及向上有 100 个方块的空间,从而形成一个大的立方体区域。你可以使用 F3 调试屏幕轻松找到你所面对的方向。
接下来,你需要在世界中启用作弊模式。然后,站在你想要粘贴区域的西北角(截图中的红羊毛指示了你应该站立的位置),执行以下命令。
/function colorspace:setup
这将在你当前位置的南方放置 6 个音符盒,每个音符盒下方都会有一个侦测器和命令方块。
警告:下一步操作无法撤销,因此请确保设置已将方块放置在你想要它们所在的正确位置,因为指定区域内的任何内容都将被替换。
然后,你可以右键点击重置音符盒以清除该区域并粘贴白色混凝土墙。右键点击其他任何音符盒,将把方块位置切换到指定的色彩空间,并移除在该区域内所做的任何更改。
如果你不想在聊天栏中看到命令方块的输出,可以使用以下命令设置游戏规则
/gamerule commandBlockOutput false
反馈
欢迎留下任何评论或建议,我会尽量将这些反馈融入到后续的更新中。如果你发现任何错误或问题,也请告诉我,以便我进行修复。
希望你喜欢使用这个工具,感谢你的尝试。
Colorspace Viewer
What is it?
This is a data pack that displays blocks in a variety of different colorspaces. The position of each block is calculated as the average pixel color of all its faces.
There are currently 5 supported colorspaces (HSV, LAB, LUV, RGB, XYZ). Each colorspace has its own strengths and weaknesses when it comes to building and picking out color palettes. Try out all the different options and find out the ones that work best for you.
How to Use
As with all data packs you will need to add this to your world's datapacks folder, either on world creation or by finding your world in the saves folder and adding it manually in the datapacks folder there.
Once you have installed the data pack you can open your world and select and area you would like to paste in the colorspace viewer. You will need to have 100 blocks to the East and 100 blocks to the South of the player, as well as 100 blocks above to form a large cubic area. You can find which direction you are faceing easily by using the F3 debug screen.
Next, you will need to have cheats enabled on your world. You will then execute the following command while standing at the North-West corner of the area you would like to paste to (the red wool in the screenshot indicates where you should be standing).
/function colorspace:setup
This will place in the world 6 note blocks to the south of your current location with observers and command blocks under each of them.
WARNING: You cannot undo the next step so make sure that your setup has placed the blocks in the correct location you want them to be as anything in the designated area will be replaced.
You can then right-click the Reset note block to clear the area and paste in the white concrete walls. Right-clicking any of the other note blocks will switch the block positions to the specified colorspace and remove any changes made within the area.
If you do not want to see the command block output in chat you can set the gamerule with the following command
/gamerule commandBlockOutput false
Feedback
Feel free to leave any comments or suggestions and I will try to incorporate that feedback into subsequent releases. If you find any bugs or issues let me know as well so I can fix them.
I hope you enjoy using this tool and thanks for trying it out.
评论 0
登录后参与评分
还没有评论,来抢沙发吧