DBxCobblemon 是一个兼容性桥梁模组,用于将 DailyBoss 与 Cobblemon 集成。它允许服务器管理员和整合包制作者使用 DailyBoss 生成 Cobblemon 宝可梦作为 Boss,并支持自定义配置、战利品表和特殊机制。
特性
- 无缝集成:在 DailyBoss 生态系统中注册 Cobblemon 宝可梦为有效的 Boss。
- 可定制 Boss:通过数据包中的 JSON 文件定义 Boss,指定等级、性格、特性、闪光状态等更多属性。
- 无敌护盾:通过此模组生成的 Boss 免疫标准原版伤害(剑击、箭矢),迫使玩家以宝可梦对战的方式与其交战。
- 数据包支持:完全数据驱动。无需更新模组即可添加新 Boss。
- 自定义战利品:支持为被击败的 Boss 定义自定义战利品表。
- 菜单可视化:Boss 会正确显示在 DailyBoss 菜单中,以便进行可视化展示(包括精灵图和名称)。
自定义资源
要为菜单中的 Boss 添加自定义纹理,请按照以下结构将图片放置在资源包中:
文件位置:assets/pladailyboss/textures/gui/entity_posters/cobblemon/<species>/
每个 Boss 需要两张图片:
<species>_enabled.png(彩色版本)
<species>_disabled.png(灰度版本)
示例:
assets/pladailyboss/textures/gui/entity_posters/cobblemon/charizard/charizard_enabled.png
assets/pladailyboss/textures/gui/entity_posters/cobblemon/charizard/charizard_disabled.png
您可以通过在数据包或模组配置中创建 JSON 文件来定义新的 Boss。
文件位置:data/<namespace>/dailyboss/cobblemon/<boss_name>.json
示例:data/dbxcobblemon/dailyboss/cobblemon/charizard_boss.json
JSON 格式:
{
"species": "cobblemon:charizard",
"level": 75,
"shiny": true,
"nature": "cobblemon:adamant",
"ability": "blaze",
"gender": "male",
"uncatchable": true,
"lootTable": "minecraft:chests/simple_dungeon",
"nbt": {
"Pokemon": {
"IVs": {
"HP": 31,
"Attack": 31,
"Defence": 31,
"SpecialAttack": 31,
"SpecialDefence": 31,
"Speed": 31
}
}
}
}
| 字段 |
类型 |
描述 |
species |
Cobblemon 物种 ID(例如 cobblemon:pikachu)。必填。 |
|
level |
宝可梦的等级。默认值:50。 |
|
shiny |
宝可梦是否为闪光。默认值:false。 |
|
nature |
性格 ID(例如 cobblemon:modest)。 |
|
ability |
特性名称。 |
|
gender |
性别(male、female 或 genderless)。 |
|
uncatchable |
如果为 true,则无法在战斗中将宝可梦捕获。 |
|
lootTable |
击败后掉落的战利品表的 ResourceLocation。 |
|
nbt |
应用于宝可梦的额外 NBT 数据(支持标准 Cobblemon NBT 结构)。 |
|
DBxCobblemon is a compatibility bridge provided to integrate DailyBoss with Cobblemon. It allows server administrators and modpack creators to spawn Cobblemon Pokémon as bosses using DailyBoss, complete with custom configurations, loot tables, and special mechanics.
Features
- Seamless Integration: Registers Cobblemon Pokémon as valid bosses within the DailyBoss ecosystem.
- Customizable Bosses: Define bosses via JSON files in datapacks, specifying level, nature, ability, shiny status, and more.
- Invulnerability Shield: Bosses spawned via this mod are immune to standard vanilla damage (swords, arrows), forcing players to engage them in Pokémon battles.
- Datapack Support: Fully data-driven. Add new bosses without updating the mod.
- Custom Loot: Support for defining custom loot tables for defeated bosses.
- Menu Visualization: Bosses appear correctly in the DailyBoss menu for visualization purposes (sprites and names).
Custom Assets
To add custom textures for your bosses in the menu, place your images in a resource pack following this structure:
File Location: assets/pladailyboss/textures/gui/entity_posters/cobblemon/<species>/
You need two images per boss:
<species>_enabled.png (Colored version)
<species>_disabled.png (Grayed out version)
Example:
assets/pladailyboss/textures/gui/entity_posters/cobblemon/charizard/charizard_enabled.png
assets/pladailyboss/textures/gui/entity_posters/cobblemon/charizard/charizard_disabled.png
You can define new bosses by creating JSON files in a datapack or inside the mod's configuration.
File Location: data/<namespace>/dailyboss/cobblemon/<boss_name>.json
Example: data/dbxcobblemon/dailyboss/cobblemon/charizard_boss.json
JSON Format:
{
"species": "cobblemon:charizard",
"level": 75,
"shiny": true,
"nature": "cobblemon:adamant",
"ability": "blaze",
"gender": "male",
"uncatchable": true,
"lootTable": "minecraft:chests/simple_dungeon",
"nbt": {
"Pokemon": {
"IVs": {
"HP": 31,
"Attack": 31,
"Defence": 31,
"SpecialAttack": 31,
"SpecialDefence": 31,
"Speed": 31
}
}
}
}
| Field |
Type |
Description |
species |
The Cobblemon species ID (e.g., cobblemon:pikachu). Required. |
|
level |
The level of the Pokémon. Default: 50. |
|
shiny |
Whether the Pokémon is shiny. Default: false. |
|
nature |
The nature ID (e.g., cobblemon:modest). |
|
ability |
The ability name. |
|
gender |
Gender (male, female, or genderless). |
|
uncatchable |
If true, the Pokémon cannot be caught in battle. |
|
lootTable |
ResourceLocation of a loot table to drop upon defeat. |
|
nbt |
Extra NBT data to apply to the Pokémon (supports standard Cobblemon NBT structure). |
|
评论 0
登录后参与评分
还没有评论,来抢沙发吧