Nicos Graves 图标

Nicos Graves

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.3.0.0-1.19
本资源为搬运资源,原资源地址: https://modrinth.com/mod/nicos-graves
资源信息

Minecraft 版本: 1.19 1.19.1 1.19.2

平台: fabric quilt

标签: game-mechanics utility

资源介绍

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;
    }
}
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Original Pokemon Battle Music

价格:0 墨喵币
下载量:0

查看详情
FemCraft Client

价格:0 墨喵币
下载量:0

查看详情
Create: Nuclear Shell

价格:0 墨喵币
下载量:0

查看详情
DivineRPG

价格:0 墨喵币
下载量:0

查看详情