Henrik Kniberg: 已修复钟乳石无法生成的问题
OK time to figure out why the big stalactites aren't generating properly. When working on worldgen stuff we often create simple debug views like this to show what is actually going on behind the scenes. Super useful.是时候来考虑一下为什么巨型钟乳石无法正确生成了。搞世界生成之类的东西的时候,我们经常创造一个简单的debug视图来检查一下究竟发生了什么,这太有用了。
btw that cave is deliberately amplified to reveal the problem more clearly.
Although this one seems to be somewhat of a Heisenbug
Ah, there we go. Only stalagmites, no stalactites. Now to figure out why!
(paus for meetings... back again, poking around in the code). Hmmm. Wait. What? Oh LOL! Yeah you'd be surprised how many bugs are caused by dumb things like this :)
对了,我特意放大了洞穴来更清晰地展示问题。
虽然这个问题看起来像是个Heisenbug (难以复现的bug)。
啊,我们开始吧。只有石笋,却没有钟乳石。来找一下原因。
(开完会回来,继续研究代码) 嗯,什么?你一定会感到惊讶,因为这样的愚蠢错误导致了多少bug :)
Welcome back large stalactites and pillars! We missed you.巨型钟乳石和石柱,欢迎回来!我们太想念你们了。
【来自:https://www.mcbbs.net/thread-1169490-1-1.html】
66666666666 666666666666 66666 66666666666
页: [1]