This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Ruined portals are a super interesting feature, but something always felt off to me about the way they generate. Specifically, their surrounding netherrack patterns looked abnormally pointy in the North/South/East/West directions.
I looked in the code (thanks to /u/SuperCoder79 for helping me find the place!), and sure enough it uses Manhattan distance to shape the pattern. I propose that this be replaced with a Euclidean-based distance falloff, to produce a more convincing effect. I've put together a quick demo to showcase the results. Rather than Euclidean, I used a slightly more efficient formula involving squared Euclidean distance, but any Euclidean-based falloff would work fine I think. I kept the radius the same, but it could be scaled back if necessary to keep the total number of blocks roughly the same as before.
Comparison:
- Unchanged: https://i.imgur.com/LqAfVNd.jpg
- Changed: https://i.imgur.com/XfQ2xsV.jpg
The code is here for anyone savvy. It's a mod (rule 6?), but it's my own mod created specifically for demonstrations like this, so I'm hoping that's OK. I have a future post planned that discusses more of the changes in it, but wanted to focus on this one for now since it's a straightforward change.
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/minecraftsu...