Selective Keep Inventory 图标

Selective Keep Inventory

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.1

平台: fabric

资源介绍

Selective Keep Inventory

Selective Keep Inventory is a lightweight vanilla datapack for Minecraft Java Edition that enables keep inventory for specific players only.

Instead of enabling keepInventory for the entire world, this pack lets you choose exactly which players keep their items and XP after death.

Features

  • Per-player keep inventory
  • Per-player XP retention
  • Fully server-side
  • Vanilla datapack, no plugin or mod required
  • Supports Minecraft Java Edition 1.20.2 to 1.21.11

How it works

Players with the keepinv tag keep their inventory and XP on death.

Players without the tag die normally and lose their inventory/XP as expected.

Commands

Enable for a player:
/tag <player> add keepinv

Disable for a player:
/tag <player> remove keepinv

Example:
/tag Steve add keepinv

Fabric:

Player Keep Inventory

Server-side Fabric mod for Minecraft 1.21.1 that enables keep-inventory only for selected players.

Command

/keepinventory <player|selector> <on|off|toggle|status>

Examples:

  • /keepinventory Steve on
  • /keepinventory @a[team=vip] on
  • /keepinventory Steve status

Installation

  1. Put the ZIP file into your world's datapacks folder
  2. Run /reload
  3. Check with /datapack list

Notes

This is a vanilla datapack, so it does not add a custom root command like /keepinv on Steve.
Use the player tag system shown above.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
BarrierFillGenerator

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

查看详情
Better icons!

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

查看详情
Ametist Food - [1.0]

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

查看详情
Obsidian Equipment

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

查看详情