Cobblemon Pasture Extractor
从 Cobblemon 中附近牧场方块内的宝可梦身上收集物品。
注意!
本模组灵感来源于 TimInc 制作的 Cobblemon Pasture Collector 模组。
功能
目前共有四个等级的牧场提取器:铁制、金制、钻石制和下界合金制,各自的库存容量和提取物品的概率不同(可配置)。
提取器会随机选择相邻牧场方块内的一只宝可梦,并从其掉落表中随机获取一件物品(冷却时间可配置)。
- 提取器必须与牧场方块直接相邻才能工作(顶部和底部除外);
- 如果一个提取器周围有多个牧场方块与之相邻,它会随机选择其中一个;
- 如果多个提取器与同一个牧场方块相邻,则等级更高的提取器获得物品;
- 如果提取器等级相同,优先级由它们相对于牧场方块的位置决定:
北 > 西 > 东 > 南。
可能的掉落物与玩家在战斗中击败该宝可梦时获得的掉落物相同,且概率随宝可梦的亲密度增加而提高(亲密度越低,概率越低)(也可配置)。
- 下界合金提取器本质上与钻石提取器相同,但它们无视宝可梦的亲密度。
每个周期,提取器可以产生粒子效果:
- 破碎的心:同一牧场方块内优先级最高的提取器;
- 烟雾:物品掉落失败;
- 绿色:成功收集到物品;
- 无粒子:附近没有牧场方块或相邻牧场方块内没有宝可梦。
玩家可以通过右键点击提取器、打开其菜单(Shift + 右键点击)或使用漏斗来获取物品。
- 提取器仅支持输出。玩家可以取出物品,但不能向其中放入物品。
默认配置文件 (config/pastureextractor.json):
{
"baseDropChances": {
"iron": 0.15,
"gold": 0.3,
"diamond": 0.5
},
"extractorCooldown": 200, // 200 ticks -> 10 seconds
"itemBlacklist": [],
"ignoreFriendship": false
}
依赖项
鸣谢
特别感谢:
- Cobbled Studios Team - Cobblemon 模组创作者
- TimInc - Cobblemon Pasture Collector 模组创作者
- ZypherConspirator - 提取器的模型和纹理
Cobblemon Pasture Extractor
Collects items from Pokémon in nearby Pasture Blocks in Cobblemon.
NOTE!
This mod was inspired by Cobblemon Pasture Collector Mod by TimInc.
Features
There are currently four tiers of Pasture Extractors: Iron, Gold, Diamond and Netherite, each with different inventory size and probability of extracting items (configurable).
The Extractors will randomly choose a Pokémon inside an adjacent Pasture Block and take a random item from its drop table (cooldown is configurable).
- The Extractor must be directly adjacent to a Pasture Block for it to work (top and bottom excluded);
- If more than one Pasture block is adjacent to an Extractor, it randomly chooses one of them;
- If more than one Extractor is adjacent to a single Pasture Block, the one with higher tier gets the items;
- If Extractors have the same tier, the priority is chosen by their relative position from the Pasture block:
North > West > East > South.
Possible drops are the same players would get if the Pokémon were defeated in battle, and probability scales with Pokémon's friendship level (less friendship, less chance) (also configurable).
- Netherite Extractors are essentially the same as Diamond Extractors, but they ignore the Pokémon friendship.
Each cycle, the Extractors can emit particles:
- Broken heart: Higher priority Extractor at the same Pasture Block;
- Smoke: Item drop failed;
- Green: Successfully collected item;
- No particle: No Pasture Block nearby or no Pokémon inside adjacent Pasture Block.
Players can get items from Extractors by right-clicking them, by opening their menus (shift + right-click), or via hoppers.
- Extractors are output-only. Players can get items, but not insert items into them.
Default config (config/pastureextractor.json):
{
"baseDropChances": {
"iron": 0.15,
"gold": 0.3,
"diamond": 0.5
},
"extractorCooldown": 200, // 200 ticks -> 10 seconds
"itemBlacklist": [],
"ignoreFriendship": false
}
Dependencies
Credits
Huge shoutout to:
- Cobbled Studios Team - Cobblemon mod creators
- TimInc - Cobblemon Pasture Collector mod creator
- ZypherConspirator - Extractors models and textures
评论 0
登录后参与评分
还没有评论,来抢沙发吧