You're in Grave Danger

You're in Grave Danger

17M Downloads

[1.18.2] Grave not generating above ground

itsdinkd opened this issue ยท 5 comments

commented

Suffocating in walls will not create the grave above ground, it will generate it where you suffocated. there should be a setting that allows you toggle if you want the grave to generate on the first closest block on the Y axis above ground or to generate where the death occurred if they suffocated.

YIGD version 1.3.7
1.18.2
image
(I broke the blocks but as you see, the grave is on the bottom where I suffocated)

commented

You can enable the trySoft config, which will place the grave on a nearby block that is either air, water, or any obstructive blocks like grass or snow. This is of course if any blocks like these are actually found nearby. There is no "same coordinates but different Y level" config, but I can take a look at implementing that as an option

commented

I've added a config called trySoftApproach that can let you configure how the trySoft config thing works. By default it's radius, working out from a block in all directions, but you can also configure it to work up and down in y level only, or alternatively only up from where you died.
Thank you for the feature request/issue/bug report! Let me know if there's anything else you would like to see in the mod!
Newest versions for 1.18.2 and 1.19.2 is out on curseforge, modrinth, and github

commented

btw; could there be any issues for having trySoft, tryHard, and this new try setting enabled?

commented

Thank you, i'll give it a try!

commented

No they should all work together. The reason I made a new config is because else configs would break when updating, and suddenly there's a boolean where there should be text. The trySoftApproach is just an extension of the trySoft config. If this one were to fail, tryStrict will take effect, if that is enabled. With trySoft enabled, the tryStrict config is just a very unlikely backup solution, but at least it's there