Requires the library mod Collective.
This mod is part of The Vanilla Experience modpack and Serilum's Quality of Life Bundle mod.
Your Items Are Safe is a mod which can function as an alternative to the existing gravestone mods, by using only vanilla blocks. When a player dies, it will keep their items from despawning. It does this by creating an armor stand with equiped gear and a chest with the items from the inventory. A sign will be placed on the chest with the player's name. If the inventory does not fit into one chest, another one above it is generated. The armor stand stands above the chest. All features can be turned on/off via the config. If a player dies in the void, the chest will be placed above the death coordinates.
To keep it balanced the chests and armor stand can only be created if the player has enough wood in its inventory. A chest requires either 2 logs, 8 planks or an actual chest. The armor stand requires 1 log or 3 planks. The mod searches for logs first, then planks, then chests. If it can't find the raw material needed, the chest and armor stand is not generated. If you'd like to always generate them, even without raw materials, this can be set in the config file as well.
The mod also contains the functionality to generate a player head and put it on the armor stand. This makes it easier to identify which player has died where. If the player had a helmet equiped, it is placed inside the chest. Enabled by default. But again, this can be disabled in the config.
Configurable: ( how do I configure? )
mustHaveItemsInInventoryForCreation (default = true): When enabled and a player dies without any items in their inventory, no chest or armor stand is generated.
addPlayerHeadToArmorStand (default = true): If a player head should be added to the armor stand. If a helmet is worn, this will be placed into the chest.
createArmorStand (default = true): Whether an armor stand should be created on death. If disabled, the player's gear will be placed inside the chest.
createSignWithPlayerName (default = true): Whether a sign should be placed on the chest with the name of the player who died there.
needChestMaterials (default = true): Whether materials are needed for the chest which spawns on death. This can be the actual chest or the costs in raw materials.
needArmorStandMaterials (default = true): Whether materials are needed for the armor stand to spawn on death. This can be the actual armor stand or the costs in raw materials.
needSignMaterials (default = false): Whether materials are needed for the creation of the sign when 'createSignWithPlayerName' is enabled.
ignoreStoneMaterialNeed (default = true): Only relevant if 'needChestAndArmorStandMaterials' is enabled. An armor stand needs 1 stone slab to be created, but I think it's alright to ignore that requirement. If enabled, no stone is needed in the inventory on death.
createChestAboveVoid (default = true): If a chest should be placed right above the minimum build height when a player dies in the void.
createVoidPlatform (default = true): If a 3x3 platform should be created below the chest above the void. 'createChestAboveVoid' must be enabled.
sendMessageOnCreationFailure (default = true): If a message should be sent if the chest or armor stand can't be created due to missing materials.
sendMessageOnCreationSuccess (default = true): If a message should be sent on successful creation of the chest(s) and armor stand.
sendDeathCoordinatesInChat (default = true): If the player's death coordinates should be sent in the chat below the 'sendMessageOnCreationFailure'/'sendMessageOnCreationSuccess' message.
creationFailureMessage (default = "Your items are not safe due to having insufficient materials. Missing: %plankamount% planks."): The message sent on creation failure with 'sendMessageOnCreationFailure' enabled. Possible replacement values: %plankamount%, %stoneamount%.
creationSuccessMessage (default = "Your items are safe at your death location."): The message sent on creation success with 'sendMessageOnCreationSuccess' enabled.
Some examples:
An armor stand and chest generated after death:
Two chests generated after death, because the inventory didn't fit in a single one:
One chest and an armor stand created after death:
Show Spoiler
The previous death results in the following:
Show Spoiler
Here the player has no wood in its inventory. The chest/armor stand is not generated:
Show Spoiler
The player does have some planks in its inventory, but not enough. This is shown in the chat via a message:
Show Spoiler
The inventory is completely full, so 2 chests are needed to store everything. Luckily the player has more than 19 planks:
Show Spoiler
When a player dies in the void, the chest is placed on the initial position above it with a cobblestone platform.
Death coordinates are sent in the chat. Can be disabled in the config.
------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+