B1n-ry / Youre-in-grave-danger

A minecraft mod which adds one single block. The grave, which will generate when you die, and store your items
https://www.curseforge.com/minecraft/mc-mods/youre-in-grave-danger
MIT License
65 stars 18 forks source link

Option in config to not replace current armor with grave armor is missing #110

Open PoggerLogger opened 1 year ago

PoggerLogger commented 1 year ago

Config explanation What exactly would you like a config for? Please provide an as clear description as possible

Currently, when you pick up your grave, it puts your old armor back on. I would like an option for this not to happen. I.e. when I click on the grave, the armor that I'm wearing before I click the grave remains on.

Why this config? Why do you want to add this config? (Not important since the config will probably get added whatever you say here tbh)

Sometimes I don't want the old armor back on because the armor I'm wearing for the grave run has a specific purpose.

E.g. in Create:Astral on the moon, if you run out of oxygen in your previous suit, you're wearing your current suit filled with oxygen when hunting your grave. When the old suit without oxygen is put back on, you die again.

PoggerLogger commented 1 year ago

You could implement this as a keybind. When you hold [key], the armor is not put on when picking up grave

PoggerLogger commented 1 year ago

that close was an accident

B1n-ry commented 1 year ago

I mean there is a config for priority, which basically say if your current items should be replaced or not by the ones in the grave. You could change the priority to inventory, so the grave items wont replace the gear you currently have. As this works for armor, it will also do this with all your inventory space. It will however get the job done. I could try to implement a feature where if an items nbt matches/doesn't match or whatever (like there's no oxygen or something), the priority for that individual item would be flipped. Could prove to be harder to implement than I would think at the moment, so I can't promise much for now. I'll try to do something to improve this process however.