Piglins Like Netherite

模组

· 作者 LucasTHCR

厌倦了在终局装备和脆弱的金色护甲之间来回切换了吗?当你穿戴下界合金护甲时,猪灵会像对待金质护甲一样保持中立。

0 本站下载 0 关注 更新于 1 个月前

最新 PLN_Data-1.1 · 26.3 · 数据包

一键开服(送7天)

Available for Bukkit Available for Fabric Available for Quilt Available for Forge Available for NeoForge Available for Paper Available for Purpur Available for Folia Available for Spigot

Piglins like Netherite

终于,下界合金护甲也能获得猪灵的了。

一个虽小但实用的补充功能,让你的下界合金护甲能像猪灵对待金装备一样被对待。


Description

厌倦了为了和平穿过下界而不得不把毕业装备换成脆弱的金装了吗?原版游戏中只有金装备能让猪灵保持平静。本模组将下界合金加入了这一列表。

提供三种版本,效果完全相同:Fabric、Forge、NeoForge 和 Quilt 的 模组,适用于整个 Bukkit 系列的 服务器插件,以及适用于其他情况的纯 数据包。选择最适合你配置的一款即可。

简单、干净、直奔主题。


Added Effect

Condition Result
Wearing 1x Netherite Armor piece Nearby Piglins stay neutral, just like with Gold Armor

只要穿戴任意一件 下界合金护甲(头盔、胸甲、护腿或靴子),周围的猪灵就不会再攻击你,其机制与金护甲完全一致。金护甲的行为不会发生任何改变,也不会影响猪灵的其他行为逻辑。


Features

Netherite = Gold One piece of Netherite armor is enough to stay Piglin-neutral
Zero dependencies Nothing to install alongside it
In-game toggle /piglinslikenetherite on and off, no restart needed
Folia ready Plugin build is safe for threaded servers
Lightweight Datapack/mod: a single vanilla tag, no mixins. Plugin: one event listener, no scheduler tricks
Attribution built in Datapack/mod print a short credit line once per world load

Server Plugin

插件版完全不依赖原版标签——它监听猪灵选择目标的过程,并在检测到目标穿戴下界合金护甲时取消该攻击意图。这意味着它是三个版本中唯一能在 所有 支持版本范围内生效的版本,而不仅仅是从 1.21.4 开始(详见下方的兼容性说明)。

Commands

Command What it does
/piglinslikenetherite on Enables the neutrality effect and saves that choice
/piglinslikenetherite off Disables it again
/piglinslikenetherite status Shows whether it is currently active
/piglinslikenetherite reload Re-reads config.yml and applies it

Aliases: /pln, /piglinnetherite. Permission: piglinslikenetherite.admin (default: operators).

Configuration

enabled: true

messages:
  prefix: '&8[&6PiglinsLikeNetherite&8]&r '
  enabled: '&aNetherite neutrality enabled.'
  already-enabled: '&eIt is already enabled.'
  disabled: '&cNetherite neutrality disabled.'
  already-disabled: '&eIt is already disabled.'
  reloaded: '&aConfiguration reloaded.'
  status-on: '&aNetherite neutrality is enabled.'
  status-off: '&cNetherite neutrality is disabled.'
  no-permission: '&cYou do not have permission to do that.'
  usage: '&7Usage: &f/piglinslikenetherite <on|off|status|reload>'

Every message the plugin sends can be rewritten in the messages section of config.yml, colour codes included.


Compatibility

Property Info
Minecraft (Datapack / Mod) Loads on 1.16 – 26.3, but the effect itself only exists from 1.21.4 – 26.3 onward, since that's when piglin_safe_armor became a real, data-driven vanilla tag
Minecraft (Server Plugin) 1.16 – 26.3, full range — the effect is custom logic, not tied to the vanilla tag
Mod Loaders Fabric, Forge (1.18+), NeoForge (1.20.2+), Quilt
Server Platforms Bukkit, Spigot, Paper, Purpur, Folia
Dependencies None
Side Server side, clients need nothing

On Minecraft versions older than 1.21.4, the datapack shows as incompatible in the Data Packs menu instead of silently doing nothing, and the mod loads normally on its loader but has no visible effect yet. The plugin is unaffected by this, since it doesn't depend on the vanilla tag at all.


A note on the Plugin build

该插件以实际编译好的 Bukkit/Spigot/Paper jar 文件形式发布,而非仅包含数据的文件。本次发布没有 Sponge 版本,也未集成 bStats 指标统计——不会向任何地方发送数据。已设置 folia-supported: true,且逻辑作为普通的同步事件取消处理,不涉及跨区域调度,因此预期可在 Folia 上正常运行。


贡献者

NeonNoxus 原始概念
LucasTHCR 代码协助

欢迎提供反馈与建议!


小改动,大便利。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源