
Что это
Only drop a configured percentage of items or experience.
- Тип: мод
- Загрузчик: fabric
- Версии Minecraft: 1.19.3 – 1.20.1
- Скачиваний на Modrinth: 1 131
Подробно
Partial Keepinventory NOTE: This mod is still in alpha, and I am just one person. Bugs are bound to happen. A fabric mod for changing the behaviour of keep inventory.
For more information on what I'm planning and working on see the Roadmap.
GUI Open the GUI using /pki-gui. This requires you to have the mod installed on the client side.
Expressions Expressions are a way to dynamically change how items are dropped. This can be done with a simple formula that uses given variables. The value returned by the invExpression is clamped between 0 and 1. A list of variables can be found in the provided table:
| Variable | Meaning | |--------------------------------------|-----------------------------------------------------------------------------------| | spawnDistance | The distance from the player to their spawnpoint | | spawnX, spawnY, spawnZ | The player's spawn position | | playerX, playerY, playerZ | The player's position |
| Variable | Meaning | |--------------------------------------|-----------------------------------------------------------------------------------| | isCommon, isUncommon, isRare, isEpic | Whether an item has a certain rarity, These are 1.0 when true and 0.0 when false. | | rarityPercent | The configured droprate of the item's rarity. | | dropPercent | The static inventory droprate |
| Variable | Meaning | |-------------|---------------------------| | xpPoints | Player's XP point amount. | | xpLevel | Player's XP level. |
Distance falloff Change DISTANCEINBLOCKS to the distance from spawn where you stop dropping items (the droprate decreases linearly). > abs(1-(spawnDistance/DISTANCEINBLOCKS))
Enable/disable the mod > /pki [enable|disable]
Set the drop behaviour > /pki inv mode [vanilla / static / rarity / custom]
Set droprate for the inventory/rarities (0-100) > /pki inv droprate [static / common / uncommon / rare / epic]
List players who will get the normal keepinventory behaviour > /pki inv sav
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Craftables | Crafting Tweaks
A little datapack that adds recipes to normally uncraftable items and tweaks some current recipes. 06.12.2026
Soulified EnderZoology
Ender Zoology support for Soulified 06.12.2026
Create: Dreams of Flight
A steampunk-ish Create modpack with a focus on steam-age aesthetics and building 06.12.2026
A green kitchen sink for updating regularly
A modpack for a rainy day, built for a bit of everything while straying away from in-depth mods such as AE2 or Botania 06.12.2026
NxDoomsSMP
NxDoomsSMP adds custom maces with unique combat abilities to your SMP server. 06.12.2026
Background - Arcane - Hell
This resource pack changes the background 06.12.2026