No Item Destruction 图标

No Item Destruction

作者:rebot | 分类:模组

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

Minecraft 版本: 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

平台: paper

标签: game-mechanics utility

资源介绍

A lightweight Paper/Spigot plugin that makes all dropped items indestructible by default.
Items cannot be destroyed by fire, lava, explosions, cacti, anvils, magic, or dragon breath
unless you explicitly allow it.

How It Works

Every dropped item entity is protected from damage. Only items you specifically list under a
destruction category in config.yml will be destroyable by that method.

Void damage and natural despawn are always allowed
The plugin never interferes with those.

Configuration

After first run, edit plugins/NoItemDestruction/config.yml.

How to add items

Each category starts empty; meaning all items are protected from that damage type:

fire: [] ← empty list, everything is protected from fire
lava: [] ← empty list, everything is protected from lava

To allow specific items to be destroyed, replace [] with a list underneath.
Each item goes on its own line, starting with - (two spaces, a dash, then a space):

fire:

  • minecraft:oak_log
  • minecraft:stick

lava:

  • minecraft:oak_log

Important: Do NOT put items inside the brackets. fire: [minecraft:oak_log] will not
work correctly. Always use the list format shown above.

Full example

Oak logs and sticks can burn in fire:
fire:

  • minecraft:oak_log
  • minecraft:stick

Oak logs can be destroyed by lava:
lava:

  • minecraft:oak_log

TNT items can be destroyed by explosions:
explosion:

  • minecraft:tnt

Everything else stays fully protected (empty = protected):
cactus: []
anvil: []
magic: []
dragon_breath: []

Categories

Category Damage Sources
fire Fire blocks, fire tick
lava Contact with lava
explosion TNT, creepers, respawn anchors, etc.
cactus Contact with cactus blocks
anvil Crushed by a falling anvil
magic Potion / projectile damage flagged as MAGIC
dragon_breath Ender Dragon breath attack

Items use namespace:id format (e.g., minecraft:diamond, minecraft:oak_log).

Tip: Any item not listed under a category is fully protected from that damage type.
Custom items from other plugins have no vanilla minecraft:id listing, so they are
indestructible by default.

Commands

Command Description Permission
/nid reload Reload config from disk nitemdestruction.reload

The nitemdestruction.reload permission defaults to op.

Requirements

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
LifeSteal Enchantment

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

查看详情
3D Default Compat

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

查看详情
CrownEconomy - All In One | Multiverse Support

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

查看详情
SiveKoth

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

查看详情