InventoryDropChance 图标

InventoryDropChance

作者:rebot | 分类:模组

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

Minecraft 版本: 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: paper purpur

标签: game-mechanics utility

资源介绍

InventoryDropChance allow setting custom drop chances for items in player inventories upon death

Commands

  • /mnd (makenodrop) <add_lore> <chance>: Add an individual chance to save item on death, chances added by this command always have top priority over config chances
    • <add_lore>: Adds lore to the item, by default does not add lore
    • <chance>: Chance (in percent) to save the item on death, by default 100
  • /scrolls <add_lore> <chance>: Makes item in hand a scroll, scrolls don't have chance to be saved on death by default. Scroll item allows to apply specified chance to any item by dragging and dropping scroll onto another item in inventory (does not work in creative mode)
    • <add_lore>: Adds lore to the item, by default does not add lore
    • <chance>: Chance (in percent) to save the item on death, by default 0
  • /idc (inventorydropchance) reload: Reloads the config files

Permissions

  • inventorydropchance.inventorydropchance - Allows use of /idc command
  • inventorydropchance.reload - Allows use of /idc reload command
  • inventorydropchance.makenodrop - Allows use of /mnd command
  • inventorydropchance.scrolls - Allows use of /scrolls command
  • inventorydropchance.X - Allows user to have X% chance to save items on death, where X is a number from 0 to 100 (e.g. inventorydropchance.75 for 75% chance) (Players with OP permission will always have 100% chance to save items on death)

Integrations

  • ItemsAdder: Supports ItemsAdder custom items, you can specify drop chances for ItemsAdder items in the config using their namespace IDs
  • WorldGuard: Adds 2 new flags:
    • idc-region-drop-chance: Sets a custom drop chance for all items for players within the region
    • idc-disabled: Fully disables InventoryDropChance functionality in region
  • AxGraves: Instead of dropping items on death, dropped items will be stored in AxGraves grave

Configuration

lang.yml - Language file, allows customizing all messages sent by the plugin. (Does not support MiniMessage formatting yet, adding support requires dropping 1.16.5 support).
Also, you can enable title and chat messages on player death with amount of saved and dropped items

config.yml - Main configuration file, allows specifying ignored worlds, skip for Curse of Vanishing (any item Curse of Vanishing will always be removed ignoring chance),
if chance is applied to an item stack or each item in the stack individually, and enable/disable optional features (like permission chance or scrolls) and integrations with other plugins

global.yml - Allows specifying global drop chances for items by based on various criteria:

  • Default chance for all items
  • By the world name
  • By item material
  • By the custom model data value
  • By the ItemsAdder namespace ID

By default, chances for item are checked in FIRST_SUCCESS mode, meaning that the first chance that success the item will be applied. You can change this behavior to FIRST_APPLY mode in the config, which will apply the first chance that is found for the item, regardless of success.
Also order of checking chances can be changed in the config as well

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
XiaoXue's Delta Force mod

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

查看详情
Impactor Vault Bridge - Impact Tresor

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

查看详情
Hpixel-Optimized

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

查看详情
Farmer's Paradise

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

查看详情