CustomMobHeads
CustomMobHeads 是一款高度可配置的 Paper 插件,允许生物在被击杀后掉落它们的头颅(自定义纹理的玩家头颅)。这些头颅可用于装饰、作为收藏品,甚至作为击败困难 Boss 的稀有战利品。
功能特性
-
按生物类型配置掉落概率
在易于阅读的配置文件里,为每种生物单独自定义掉落概率
-
生物变体支持
此插件区分不同生物的变体,具体如下:
- 温带 / 温暖 / 寒冷 的牛、猪和鸡
- 愤怒 / 授粉中 / 愤怒且授粉中 的蜜蜂
- 带电 / 普通 的苦力怕
- 村民的生物群系与职业
- 热带鱼 带有 22 种命名的特殊变体(其余掉落通用的热带鱼头颅,抱歉,我不会添加全部 3,072 种变体)
-
彩蛋生物,例如 Toast 兔、jeb_ 绵羊 和 杀手兔
-
内置命令
用法:/gethead <玩家> <生物ID> [变体] [子变体]
-
简单且完全可自定义的配置
chance_config.yml: 每个生物或其变种的掉落概率
textures.yml: 头颅纹理的 Base64 编码值
translations.yml: 头颅的显示名称
config.yml: 全局行为设置(击杀者描述文本、默认掉落概率、强制掉落等)
sound_config.yml: 包含生物音效覆盖设置
config.yml 概览
# 如果为 true,所有生物都会始终掉落其头颅(用于测试目的)
force-drop-all: false
# 如果为 true,掉落的头颅将带有击杀者名字的lore描述
add-killer-lore: true
# 如果在 chance_config.yml 中缺少某类生物时使用的备用掉落概率(百分比)
default-drop-chance: 50.0

⚠️ 注意: 该插件默认仅支持原版生物。模组生物不会掉落头颅,除非手动配置——若未提供 base64 编码数据,则可能显示为缺失纹理。此功能未经测试,请谨慎操作!
CustomMobHeads
CustomMobHeads is a highly configurable Paper plugin that lets mobs drop their heads (custom textured player heads) upon being killed. These can be used for decoration, as collectibles, or even as rare trophies for killing difficult bosses.
Features
-
Configurable, per-mob drop chances
Customize drop chances for each mob separately in easy-to-read config files
-
Mob Variant support
This plugin differentiates between different mob variants, as follows:
- Temperate / Warm / Cold Cows, Pigs, and Chickens
- Angry / Pollinated / Angry + Pollinated Bees
- Charged / Normal Creepers
- Villager Biomes + Professions
- Tropical Fish with 22 named special variants (others drop a generic Tropical Fish head, sorry, I ain't adding all 3,072 variants)
- Easter egg mobs, like the Toast Rabbit, jeb_ Sheep, and The Killer Bunny
-
Built-in command
Usage: /gethead <player> <mob_id> [variant] [subvariant]
-
Simple, fully customizable config
chance_config.yml: Drop rates per mob or variant
textures.yml: Head texture base64 values
translations.yml: Display names for heads
config.yml: Global behavior (killer lore, default drop chance, force drop, etc.)
sound_config.yml: Includes sound overrides for mobs
config.yml overview
# If true, all mobs will always drop their head (for testing purposes)
force-drop-all: false
# If true, dropped heads will have lore with the killer's name
add-killer-lore: true
# The fallback drop chance (percent) if a mob type is missing in chance_config.yml
default-drop-chance: 50.0

⚠️ Note: This plugin only supports vanilla mobs by default. Modded mobs will not drop heads unless manually configured — and may show as missing texture if no base64 is provided. This has not been tested, so here be dragons!
评论 0
登录后参与评分
还没有评论,来抢沙发吧