✨ PokeMarks for Cobblemon ✨
? 这是什么模组?
是否总觉得仅凭闪光宝可梦还不足以体现 稀有度、状态 或 那只宝可梦的独特之处?
现在,你可以将其提升到新的高度!PokeMarks 将《剑/盾》和《朱/紫》中的特性引入你的游戏——为你的宝可梦增添更多风采、个性以及一丝神秘感。花更多的时间搜寻宝可梦并炫耀你的收藏吧!
每个特性都包含:
- ? 标题: 显示在宝可梦身上的个性化标题
- ? 颜色: 标题的特定颜色
- ? 概率: 一个百分比(0–100%),表示该特性是否生效
- ✨ 粒子效果: 可定制的粒子效果,提供视觉上的亮点
特性会根据游戏内的条件(如天气、一天中的时间、生物群系等)进行应用。几乎所有来自《剑/盾》和《朱/紫》的特性都包含了其原有的概率和条件,并进行了微调以更好地融入 Minecraft。唯一被省略的是那些没有直接对应 Minecraft/Cobblemon 特性的特性(将在未来的更新中添加)。
✨ 特性展示
有一些令人惊叹的宝可梦与不同特性的组合!以下是可能效果的预览:
你会发现哪些特性? 在数百种宝可梦中有着数十种可能的组合,每种特性都为你的收藏增添了独特的个性和视觉效果。
你会找到拥有沙尘暴特性的穿山鼠吗?或者是一只拥有 Alpha 特性的喷火龙?可能性是无穷无尽的!
? 功能
完全可定制的特性
- 通过简单的 JSON 设置添加、移除或修改特性
- 根据你的喜好配置属性,如标题、标题颜色、概率和粒子效果
动态条件检查
- 根据游戏内的事件和情况赋予特性(例如
isRaining、isDayTime、isPokemonIVSum(>=145))
- 适应广泛的条件范围,精确控制特性出现的时间和地点
无缝集成 Cobblemon
- 专为完美融入 Cobblemon 而设计,不影响游戏玩法
对开发者友好的设置
? 计划中的功能
增强的 UI 集成
- PC 界面和队伍覆盖层中的特性图标
- 在各种界面中标记宝可梦的视觉指示器
扩展的特性收集
- 更多来自宝可梦游戏的特性
- 专属于 Minecraft 环境的自定义特性
可配置的音效系统
- 派出带有特性的宝可梦时的特殊音效
- 与特性主题匹配的ambient sounds
模组集成
- 与 Alpha 宝可梦模组兼容(确保只有 Alpha 宝可梦才能拥有 Alpha 特性)
- 天气模组集成,支持沙尘暴、雾和暴风雪条件
- 支持生物群系和维度模组,以提供更多基于环境的特性
游戏内命令
- 轻松添加/删除/管理宝可梦上的特性
- 用于服务器管理的管理员命令
- 用于查看特性信息的玩家命令
统计数据追踪
- 追踪你收集到的每种特性的数量
- 收集特定特性组合的成就
? 可用的特性条件
特性利用条件语句来决定是否应该应用。以下是所有可用条件的完整列表:
? 环境条件
- isThundering: 检查世界是否正在打雷
- isSnowing: 检查是否正在下雨且生物群系的降水类型为雪
- isRaining: 简单检查世界是否正在下雨
- isNight: 检查世界是否处于夜晚状态
- isDay: 检查世界是否处于白天
⏰ 时间条件
- isMoonPhase: 将当前的月相与指定条件进行比较(例如
isMoonPhase(<2))
- isGameTime: 检查游戏刻数是否等于指定值或范围(例如
isGameTime(>2005000))
- isDayTime: 检查白天的刻数是否落在某个范围内(例如
isDayTime(6000..7000))。Minecraft 的昼夜循环持续时间为 0 到 24000 刻
? 位置条件
- isPosition: 检查生成位置 (x, y, z) 是否符合指定条件(例如
isPosition(*, >=20,!=0))
- isBiome: 检查当前生物群系是否与给定的生物群系 ID 匹配(例如
isBiome(minecraft:ocean, minecraft:desert))
- isDesert: 检查当前生物群系是否为沙漠、恶地或被侵蚀的恶地
? 宝可梦条件
- isPokemonIVSum: 检查 IV 总值是否满足条件(例如
isPokemonIVSum(>=145))
- isFished: 检查宝可梦是否是通过钓鱼生成的
? 条件表达式语法
条件可以是简单的,也可以借助以下强大选项变得复杂:
数值运算符
- 支持
>、<、>=、<=、!= 以及范围运算符如 .. 和 ..<
通配符
逻辑运算符
! 表示取反
|| 表示 OR(或)
&& 表示 AND(与)
- 使用
() 将条件分组
复杂条件的示例:
- !isDay || !(isBiome(minecraft:ocean, minecraft:desert) && !isPosition(*, >=20, !=0))
⚙️ 配置
模组会在你的 minecraft/config 目录中自动生成一个 JSON 配置文件。
如果新的模组版本包含配置变更,只需删除旧版本的配置文件,模组将自动创建新的配置文件!
无需触碰任何代码即可自定义你的标记!
全局配置
- config_hot_reload_each_tick: 启用即时配置更改而无需重启(在生产环境中设置为
false 以获得更好的性能)
标记配置属性
- title: 显示在宝可梦上的自定义标题(例如,“前任 Alpha”)
- chance: 应用该标记的概率百分比(0-100)(例如,
2.5 代表 2.5%)
- color: 标题的十六进制颜色代码(例如,
"#FF1616")
- condition: 定义何时应用标记的表达式(例如,
"isPokemonIVSum(>=145)")
粒子配置
- particle_type: 粒子效果类型(任何 Minecraft 或模组的粒子,格式为
mod_id:particle_name)
- spawn_rate: 控制粒子生成的频率(
1 = 每个游戏刻生成一次,20 = 每秒生成一次)
- spawn_count: 每次生成的粒子数量
- velocity_affected_by_rotation: 当设置为
true 时,粒子方向与宝可梦的旋转方向对齐,而不是与全局坐标轴对齐
- velocity: x、y 和 z 轴上的移动速度(固定值或随机范围)
- offset: 相对于宝可梦的生成位置偏移量(固定值或随机范围)
? 示例配置
{
"data": {
"config_hot_reload_each_tick": true,
"marks": {
"Alpha Mark": {
"title": "Former Alpha",
"chance": 2.5,
"color": "#FF1616",
"particles": {
"particle_type": "minecraft:small_flame",
"spawn_rate": 1,
"spawn_count": 2,
"velocity_affected_by_rotation": false,
"velocity": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"offset": {
"x": {
"min": 0.0,
"max": 1.5
},
"y": {
"min": 0.0,
"max": 1.0
}
}
},
"condition": "isPokemonIVSum(>=145)"
}
}
}
}
✨ PokeMarks for Cobblemon ✨
? What is this mod?
Ever feel that it's not enough to have shinies alone to represent rarity, status, how special that one pokemon is?
Now you can take it to the next level! PokeMarks introduces marks from Sword and Shield / Scarlet and Violet into your game - adding more flair, character, and a touch of mystery to your Pokémon. Spend even more time hunting for Pokémon and flaunting your collection!
Each mark comes with:
- ? Title: A personalized title that appears on your Pokémon
- ? Color: A specific color for the title
- ? Chance: A percentage (0–100%) that indicates whether the mark is used
- ✨ Particles: Customizable particle effects that provide a visual spark
Marks are applied according to in-game conditions like weather, time of day, biome, and more. Almost all of the Sword and Shield / Scarlet and Violet marks are included with their proper chances and conditions from original games, with some little tweaking to fit better in minecraft. With only those lacking a direct Minecraft/Cobblemon counterpart omitted (to be added in future updates).
✨ Mark Showcase
There are some amazing combinations of Pokémon with different marks! Here's a glimpse of what's possible:
 |
 |
 |
 |
| Vaporeon with the Rainy Mark |
Shiny Vaporeon with the Thorny Mark |
What marks will you discover? With dozens of possible combinations across hundreds of Pokémon, each mark adds a unique personality and visual flair to your collection.
Will you find a Sandshrew with the Sandstorm Mark? Or perhaps a Charizard with the Alpha Mark? The possibilities are endless!
? Features
Completely Personalizable Marks
- Add, remove, or alter marks in a simple JSON setup
- Configure properties such as title, title color, probability, and particle effects to your liking
Dynamic Condition Checks
- Marks are given based on in-game events and situations (e.g.,
isRaining, isDayTime, isPokemonIVSum(>=145))
- Accommodates a broad range of conditions for precise control over when and where marks occur
Effortless Cobblemon Integration
- Made to fit flawlessly into Cobblemon without impacting gameplay
Developer-Friendly Setup
- Open and versatile configuration for easy experimentation and customization
? Planned Features
Enhanced UI Integration
- Mark icons in PC and party overlays
- Visual indicators for marked Pokémon in various interfaces
Expanded Mark Collection
- More marks from the Pokémon games
- Custom marks unique to Minecraft environments
Configurable Sound System
- Special sound effects when a Pokémon with a mark is sent out
- Ambient sounds that match the mark's theme
Mod Integrations
- Compatibility with Alpha Pokémon mods (ensuring only Alpha Pokémon can have Alpha marks)
- Weather mod integration for sandstorm, mist, and blizzard conditions
- Support for biome and dimension mods for more environment-based marks
In-Game Commands
- Easy addition/deletion/management of marks on Pokémon
- Admin commands for server management
- Player commands for checking mark information
Statistics Tracking
- Track how many of each mark you've collected
- Achievements for collecting specific mark combinations
? Available Mark Conditions
Marks utilize condition statements to decide whether they should be applied. Here's the complete set of available conditions:
? Environment Conditions
- isThundering: Checks if the world is thundering
- isSnowing: Checks if it is raining and the biome precipitation is snow
- isRaining: Simply checks if it's raining in the world
- isNight: Checks whether the world is in a state of night
- isDay: Checks whether it is daytime in the world
⏰ Time Conditions
- isMoonPhase: Compares the present moon phase with a specified condition (e.g.,
isMoonPhase(<2))
- isGameTime: Checks if game time in ticks equals a specified value or range (e.g.,
isGameTime(>2005000))
- isDayTime: Checks if the daytime in ticks falls in a certain range (e.g.,
isDayTime(6000..7000)). Minecraft's day-night cycle lasts from 0 to 24000 ticks
? Location Conditions
- isPosition: Checks if the spawn position (x, y, z) is as specified (e.g.,
isPosition(*, >=20,!=0))
- isBiome: Checks whether the current biome matches given biome IDs (e.g.,
isBiome(minecraft:ocean, minecraft:desert))
- isDesert: Checks if the current biome is desert, badlands, or eroded badlands
? Pokémon Conditions
- isPokemonIVSum: Checks whether the total IV values satisfy a condition (e.g.,
isPokemonIVSum(>=145))
- isFished: Checks if the Pokémon was spawned through fishing
? Condition Expression Syntax
Conditions can be simple or complex with these powerful options:
Numerical Operators
- Support for
>, <, >=, <=, != and range operators like .. and ..<
Wildcards
- Use
* as a wildcard to match any value
Logical Operators
! for negation
|| for OR
&& for AND
- Use
() to group conditions together
Example of a complex condition:
- !isDay || !(isBiome(minecraft:ocean, minecraft:desert) && !isPosition(*, >=20, !=0))
⚙️ Configuration
The mod auto-generates a JSON config file in your minecraft/config directory.
If new mod version includes config changes, just remove last version of config and mod will create new one!
Personalize your marks without touching any code!
Global Config
- config_hot_reload_each_tick: Enables instant configuration changes without restarting (set to
false in production for better performance)
Mark Configuration Properties
- title: The custom title that appears on your Pokémon (e.g., "Former Alpha")
- chance: The percentage chance (0-100) that the mark is applied (e.g.,
2.5 for 2.5%)
- color: The hex color code for the title (e.g.,
"#FF1616")
- condition: Expression that defines when the mark is applied (e.g.,
"isPokemonIVSum(>=145)")
Particle Configuration
- particle_type: The kind of particle effect (any Minecraft or mod particle as
mod_id:particle_name)
- spawn_rate: Controls how often particles spawn (
1 = every tick, 20 = once per second)
- spawn_count: Number of particles to spawn each time
- velocity_affected_by_rotation: When
true, particles align with Pokémon's rotation, and not with global axis
- velocity: Movement speed on x, y, and z axes (static or random range)
- offset: Spawn position offset from the Pokémon (static or random range)
? Example Configuration
{
"data": {
"config_hot_reload_each_tick": true,
"marks": {
"Alpha Mark": {
"title": "Former Alpha",
"chance": 2.5,
"color": "#FF1616",
"particles": {
"particle_type": "minecraft:small_flame",
"spawn_rate": 1,
"spawn_count": 2,
"velocity_affected_by_rotation": false,
"velocity": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"offset": {
"x": {
"min": 0.0,
"max": 1.5
},
"y": {
"min": 0.0,
"max": 1.0
}
}
},
"condition": "isPokemonIVSum(>=145)"
}
}
}
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧