Перейти к содержимому
Mineforgian

Nicos Graves

A grave mod so you don't lose your stuff

Загрузки
4K
Подписчики
8
Обновлён
29 ноября 2025 г.
Лицензия
GPL-3.0-or-later

Опубликован 26 августа 2025 г.

Created for Remnants SMP Available on Github Issue Tracker on GitHub

Showcase

Is the chance of losing all your items in a lava pit too punishing for you?

Generel Info

  • The graves can be toggled with the gamerule nicos_graves:spawn_player_graves.
  • The accessibility of the grave can be changed with nicos_graves:grave_access

Compatibility

Known Bugs

There is a bug where when you update the mod from 1.21.9 to 1.21.10 all the graves in the world will have a really long named displayed. This bug only occurs if you update the minecraft version.

Developer/Modpack Info

To make an item soulbound, essentially making the item be kept on death, the item can be added to the tag data/nicos_graves/tags/items/soulbound.json.

{
  "replace": false,
  "values": [
    "mod_id:my_cool_item"
  ]
}

Alternatively the item class can implement the interface SoulboundItem, and override the isRetained method.

package you.your_mod.items;

import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import nazario.nicosgraves.api.SoulboundItem;

public class MyCoolItem extends Item implements SoulboundItem {

    public MyCoolItem(Settings settings) {
        super(settings);
    }

    @Override
    public boolean isRetained(ItemStack stack, PlayerEntity player, World world) {
        return true;
    }
}

Ченджлог

1.3.0.0-1.19Релиз1.19, 1.19.1, 1.19.2 · 29 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.19.3Релиз1.19.3 · 29 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.19.4Релиз1.19.4 · 29 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.20.5Релиз1.20.5, 1.20.6 · 27 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.20.3Релиз1.20.3, 1.20.4 · 27 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.20Релиз1.20, 1.20.1, 1.20.2 · 27 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.21.9Релиз1.21.9, 1.21.10 · 27 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.
1.3.0.0-1.21.8Релиз1.21.8 · 27 ноября 2025 г.
  • Changed nicos_graves:only_owner_access to nicos_graves:grave_access with three options instead of boolean.

Комментарии

Загружаем…