《核弹与原子弹》添加了可放置的炸弹和远程起爆器。爆炸会留下弹坑、焦黑的土地以及蘑菇云,辐射可持续长达十分钟。
放置与引爆
右键点击方块即可放置炸弹。其 GeckoLib 模型包含待机、已武装和临界状态动画。起爆器会为半径一万格内所有已放置的炸弹同时上膛,并启动十秒引信。倒计时期间伴随加速的蜂鸣声、烟雾和火花。
爆炸效果
爆炸会在一百格范围内摧毁地形,形成中央弹坑、焦黑环带以及碗状凹陷地面。部分受损地面会被黑石和岩浆替代。
零点的伤害高达 10,000 HP,并随距离递减。附近的实体还会受到击退、火焰和辐射伤害。辐射强度取决于实体距离中心的远近;中心附近辐射更强,造成伤害的频率更高,且可能持续长达十分钟。
视觉效果与性能
蘑菇云使用自定义 GLSL 光线步进渲染,并包含深度遮挡效果。屏幕会依次闪过白色、橙色和红色,镜头震动结合了剧烈抖动与缓慢的余震感。
六种粒子阶段分别呈现地面火焰、二次爆炸、炽热余烬、底部涌浪尘埃、吸力漩涡以及飘落灰烬。这些视觉特效在客户端运行。地形破坏处理采用异步方式,并分散到多个游戏刻中执行,以减少服务器卡顿。
该模组支持单人及多人游戏,包括多枚炸弹同时引爆的场景。
前置要求
- Minecraft 1.21.1
- NeoForge 21.1.219 或更高版本
- GeckoLib 4.7.5.1
Nuclear and Atomic Bombs adds a placeable bomb and a remote detonator. The blast leaves a crater, scorched terrain, and a mushroom cloud, with radiation that can linger for up to ten minutes.
Placing and detonating bombs
Right-click a block to place the bomb. Its GeckoLib model has idle, armed, and critical animations. The detonator arms every placed bomb within 10,000 blocks, starting a ten-second fuse on all of them. Beeps speed up during the countdown, with smoke and sparks.
The blast
The explosion destroys terrain within 100 blocks, leaving a central crater, a scorched ring, and a carved bowl floor. Blackstone and magma replace parts of the damaged ground.
Damage reaches 10,000 HP at ground zero and decreases with distance. Nearby entities also receive knockback, fire, and radiation. Radiation strength depends on how close they were; stronger radiation deals damage more often and can last up to ten minutes near the center.
Visuals and performance
The mushroom cloud uses custom GLSL raymarching with depth occlusion. The screen flashes white, orange, then red, while camera shake combines a sharp jolt with a slower rumble.
Six particle phases add ground fire, secondary blasts, hot embers, base-surge dust, a suction vortex, and falling ash. These visual effects run on the client. Terrain destruction is processed asynchronously and spread across ticks to reduce server stalls.
The mod works in singleplayer and multiplayer, including several bombs detonating together.
Requirements
- Minecraft 1.21.1
- NeoForge 21.1.219 or later
- GeckoLib 4.7.5.1
评论 0
登录后参与评分
还没有评论,来抢沙发吧