苦力怕小屋
关于
返回首页
关于
发表于
2025-11-19
|
更新于
2025-11-19
|
浏览量:
背景图片:
https://pixabay.com/zh/photos/mountain-mist-look-down-outdoors-4749633/
文章作者:
Glow Creeper
文章链接:
https://blog.ayane.plus/about/
版权声明:
本博客所有文章除特别声明外,均采用
CC BY-NC-SA 4.0
许可协议。转载请注明来源
苦力怕小屋
!
上一篇
使用Java多线程、CUDA计算Minecraft信标光柱颜色
文章介绍本人使用穷举法计算在各种染色玻璃排列下信标光柱的颜色。 相关文章:Minecraft 信标颜色大全 准备工作首先我们要获取游戏中计算信标光柱颜色的算法。 使用 yarn 反编译Minecraft Java 1.21.1的源码,找到/net/minecraft/block/entity/BeaconBlockEntity.java 核心代码如下: 1lv2 = new BeamSegment(ColorHelper.Argb.averageArgb(lv2.color, n)); 12345678910111213141516171819202122232425262728293031323334public class ColorHelper { public static class Rgb { public static int getRed(int argb) { return argb >> 16 & 0xFF; } public st...
下一篇
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Glow Creeper
文章
5
标签
5
分类
0
Follow Me
公告
This is my Blog
最新文章
Minecraft 全物品收集清单
2025-11-23
使用Java多线程、CUDA计算Minecraft信标光柱颜色
2025-11-19
关于
2025-11-19
Hello World
2025-11-18
Minecraft 信标颜色大全
2025-10-27