一款模组,允许在陨石坠落时生成空间系(或普通系!)的 Cobblemon 宝可梦,
由 OhMyMeteors 模组提供支持!
当一只宝可梦正常生成时,该模组会检查它是否应该生成在陨石内部(可通过数据包配置),以及生成的概率。随后,一颗下落的陨石会在该宝可梦生成位置的天空中生成,并在落地时形成撞击坑、陨石残骸以及这只宝可梦本身。这只宝可梦遵循所有通过 Cobblemon 数据包定义的正常生成规则,例如,如果它本应在寒冷生物群系中生成,它就只会在寒冷生物群系中生成;如果它的等级本应在 20 到 30 之间,那么它的等级就会在 20 到 30 之间,依此类推。注意:只有在地表生成的宝可梦(即能够看到天空时生成的宝可梦)才会触发陨石生成。这是为了防止陨石试图进入洞穴却最终在地表爆炸的情况。
强烈建议同时下载 Cobblemon Megashowdown 模组,该模组添加了许多具有太空风格的宝可梦模型。
与朋友一起在服务器上游玩是体验这款模组的最佳方式,因此你可以在 Nodecraft 上使用代码 EMALIGHTDEV 获取折扣!
功能
宝可梦可以以不同尺寸级别的多种陨石结构生成,它们也可以是独特的,并针对其某些方面进行特定化(例如小陨石的核颜色)。
默认生成
默认情况下,该模组为以下宝可梦添加流星生成:
- Minior:小型流星,每种核心颜色都有独特的流星,总是以流星形式生成
- Clefable:中型流星,有1/8的几率在流星内部生成
- Clefairy:小型流星,有1/6的几率在流星内部生成
- Cleffa:与Clefairy相同
- Lunatone:中型流星,拥有独特的流星,有1/3的几率在流星内部生成
- Solrock:与Lunatone相同(拥有自己的独特流星)
- Deoxys:大型流星,拥有自己的独特流星,总是以流星形式生成
- Solgaleo:大型流星,直接生成而无需流星结构,总是在流星内部生成
- Lunala:与Solgaleo相同
- Necrozma:与Solgaleo和Lunala相同
- Kyurem:巨型流星,拥有自己的冰霜流星,总是以流星形式生成(是的,我知道从技术上讲它应该是原始龙形态)
自定义生成(数据包)
你可以自定义哪些宝可梦会随陨石生成、生成的概率,以及它们生成的陨石结构。
为此,你需要在 data/pokemeteors/spawns/<你的文件名>.json 内创建一个 JSON 文件。
文件内部的结构应如下所示:
{
"speciesMeteorChances": [
{
"species": "cobblemon:<pokemonname>",
"chance": <x 次中出现 1 次的概率>,
"max_meteor_size": <1-50>,
"min_meteor_size": <1-50>,
"meteor_size_class": "<small|medium|big|huge>",
"unique_meteor": "",
"aspect_unique_meteor": {}
},
{
"species": "cobblemon:clefairy",
"chance": 10,
"max_meteor_size": 6,
"min_meteor_size": 3,
"meteor_size_class": "small",
"unique_meteor": "",
"aspect_unique_meteor": {}
}
],
"override_for": [],
"version_do_not_touch": 1
}
在 specieMeteorChances 中,你可以配置那些应该随陨石生成的宝可梦。
每个“宝可梦-生成几率”条目包含一些必须填写的参数,以及其他用于指定其关联的陨石结构的参数:
species: 应随陨石生成的宝可梦 ID
chance: 该宝可梦随陨石生成的几率与正常生成几率之比,表示为每 <x> 次机会中有 1 次发生此情况。(例如,设置为 2 将使宝可梦有 50% 的几率随陨石生成,即一半的时间)
max_meteor_size: 1 到 50 之间的数字,代表陨石的最大尺寸。陨石越大,爆炸效果越强,游戏中渲染的陨石实体也越大
min_meteor_size: 同上,但是指最小尺寸
meteor_size_class: 4 个可能值之一:small(小)、medium(中)、big(大)、huge(巨大)。此值用于确定陨石结构嵌入的深度,以及对陨石大致规模的粗略描述。它还用于确定宝可梦将随哪种陨石结构生成;实际上,每个类别都对应一组特定的陨石结构类型
unique_meteor: 一个可选值,覆盖由陨石大小类选择的陨石结构,改为生成指定的特定结构,通过其 ID 指定。你也可以使用 "pokemeteors:simple_spawn" 来在陨石撞击坑的中心生成宝可梦,而不附带任何结构
aspect_unique_meteor: 类似于上述选项,它是一个 aspect:structure_id 的映射表,将为给定的属性生成独特的陨石结构。例如 Minior(小陨星),每种核心颜色都会生成其专属的陨石结构
override_for 允许你针对特定的宝可梦设置覆盖规则。例如,假设你想生成一只带有自定义结构的迷你龙(Minior),但默认的数据包会使用默认的彩色陨石来生成它。通过在列表中放入 "cobmon:minior",你的配置将覆盖默认(或其他)值。若要覆盖所有默认宝可梦的生成,你可以将 "all_default" 作为列表的第一个元素添加。
自定义陨石结构(数据包)
你可以为宝可梦生成的陨石添加自己的结构。这些结构的格式与原版 StructureBlock .nbt 文件相同,并且可以用相同的方式生成。你也可以使用 WorldEdit 和 Litematica,通过 OhMyMeteors 提供的命令 (/omm custom) 进行操作,详情请查看该模组页面。
你可以将这些文件放置在 data/pokemeteors/structure/ 目录下。将那些你不希望正常生成、仅用于特定类型宝可梦的独特结构放在根文件夹中(即上述目录),而将其他陨石结构按其大小类别放在对应的文件夹中,例如小型陨石放在 small 文件夹等。在大小文件夹内,你还可以拥有一个 'special' 文件夹,如下所示:data/pokemeteors/structure/small/special/。放置在 special 文件夹中的结构出现概率较低(10%),而不是普通的结构。你可以在 OhMyMeteors 的配置中调整此概率。
如果你想移除由该模组默认添加的特定结构,可以在相应文件夹中添加一个同名但以 "ignore_" 为前缀的文件。例如,如果你不想生成 solmeteor 结构,则需在此位置添加该文件:data/pokemeteors/structure/medium/ignore_solmeteor.nbt。你也可以选择忽略模组添加的所有默认陨石并替换为你自己的。在这种情况下,你可以在 structure 根文件夹中放置一个名为 ignore_defualt.nbt 的文件。
要在陨石结构中生成宝可梦,必须在陨石结构内部放置一块告示牌
(任意种类),并在上面写上 pokespawn。当陨石降落时,宝可梦将在该位置生成。
示例数据包
你可以在这里找到数据包示例链接。
如果你有问题,请在 GitHub 上提交 Issue 或在 Discord 上私信 @Emafire003。
配置
安装 YetAnotherConfigLib 和 ModMenu 后,你可以调整一些设置,包括使用 /pokespawn 命令时陨石的生成情况,以及是否宣布陨石生成及其包含的宝可梦等信息。
OhMyMeteors 推荐配置
以下是一些关于如何编辑 Oh My, Meteors! 配置的建议,以便在使用此模组时获得更好的体验:
min_meteor_spawn_distance:15 使陨石生成得更远一些,从而使其下落轨迹更倾斜
max_meteor_spawn_distance:50 同上
meteor_spawn_chance:-1 禁用自然陨石生成
area_explosion_sound:true 让更多人听到陨石坠落的声音
area_explosion_sound_radius:200 但不是太多人
spawn_fire_with_meteor:false 特别是对于 simple_spawn 宝可梦,它们可能会着火。但从另一方面来说,带有火焰的陨石坑看起来更酷。
配置文件版本 7 示例 (OhMyMeteors 1.4.0)
#The version of the config. DO NOT CHANGE IT :D | default= 7 | type= Integer
version:7
#以方块为单位,表示陨石(例如玩家)原点周围不会生成陨石的**最小距离**(即半径)。(请记住,它具有倾斜的轨迹,因此无论如何它都可能最终出现在该区域) | 默认值= 2 | 类型= Integer
min_meteor_spawn_distance:15
#以方块为单位,表示陨石(例如玩家)原点周围可以生成陨石的**最大距离**(即半径)。(请记住,它具有倾斜的轨迹,因此无论如何它都可能最终出现在该区域) | 默认值= 25 | 类型= Integer
max_meteor_spawn_distance:50
#陨石生成的世界高度(Y轴坐标) | 默认值= 300 | 类型= Integer
meteor_spawn_height:300
#数值越高,陨石的飞行轨迹越不倾斜,而主要保持垂直。(但仍保留随机性,因此并非 100% 垂直)。通常,你可以将其保持在 1 到 10 之间。 | 默认值= 3.1 | 类型= Double
meteor_dispersion_factor:3.1
#以“每刻 <x> 次中有一次”的概率来表述生成陨石的机会(类似于 randomTickSpeed)。将其设置为负值将禁用自然陨石生成。例如,默认情况下其概率为 1/20000 | 默认值= 30000 | 类型= Integer
meteor_spawn_chance:-1
#是否允许巨型陨石生成?它们是指比大型陨石的最大尺寸还要大的陨石 | 默认值= true | 类型= Boolean
spawn_huge_meteors:true
#生成的陨石为巨型陨石的概率。以“每 x 次中有一次”的概率表述。(这是在‘普通’生成概率之上的额外概率) | 默认值= 100 | 类型= Integer
huge_meteor_chance:100
#巨型陨石的最大尺寸限制 | 默认值= 40 | 类型= Integer
huge_meteor_size_limit:40
#夜间时的生成速率是否与白天不同? | 默认值= false | 类型= Boolean
modify_spawn_chance_at_night:false
#如果启用,陨石在夜间生成的概率。以“每 x 次中有一次”的概率表述。 | 默认值= 10000 | 类型= Integer
meteor_night_spawn_chance:10000
#自然生成的陨石的最小尺寸。不能低于 1 | 默认值= 1 | 类型= Integer
natural_meteor_min_size:1
#自然生成的陨石的最大尺寸。不能超过 50。 | 默认值= 10 | 类型= Integer
natural_meteor_max_size:10
#一个要**加到**爆炸威力上的系数(默认情况下,威力等于陨石大小),从而增加爆炸的伤害和范围。也支持负数 | 默认值= 0 | 类型= Integer
explosion_power_modifier:0
#一个要**加到**陨石下落速度上的系数。它被加到一个介于 1 和 0 之间的随机生成数字上。也支持负数 | 默认值= 0 | 类型= Integer
downwards_speed_modifier:0
#当陨石与实体接触时是否应爆炸?(如果为 true,你可以使用箭矢使陨石提前爆炸等) | 默认值= false | 类型= Boolean
explode_on_entity_collision:false
#此选项在版本 0.4.0 中无效。请改用 'ohmymeteors:meteor_bypasses' 标签。 | 默认值= true | 类型= Boolean
should_bypass_leaves:true
#此选项在版本 0.4.0 中无效。请改用 'ohmymeteors:meteor_bypasses_and_destroy' 标签 | 默认值= true | 类型= Boolean
should_destroy_leaves:true
#陨石是否应(大致)朝向最近的玩家? | 默认值= false | 类型= Boolean
homing_meteors:false
#当陨石生成时,玩家是否在聊天栏/状态栏收到消息? | 默认值= false | 类型= Boolean
announce_meteor_spawn:false
#当陨石被摧毁时,玩家是否在聊天栏/状态栏收到消息? | 默认值= false | 类型= Boolean
announce_meteor_destroyed:false
#上述公告是显示在状态栏(位于快捷栏上方)还是聊天栏中? | 默认值= true | 类型= Boolean
actionbar_announcements:true
#如果启用了公告,是否还应显示正在生成/被摧毁的陨石的大致坐标? | 默认值= true | 类型= Boolean
announce_location:true
#在线的所有玩家是否都能听到陨石的爆炸声? | 默认值= false | 类型= Boolean
global_explosion_sound:false
#一定区域内的所有玩家是否都能听到陨石撞击点的爆炸声? | 默认值= false | 类型= Boolean
area_explosion_sound:true
#如果上述选项为 true,则能听到陨石声音的区域半径(以方块为单位) | 默认值= 500 | 类型= Integer
area_explosion_sound_radius:200
#在连续生成两个陨石之间是否应有冷却时间? | 默认值= true | 类型= Boolean
should_cooldown_between_meteors:true
#生成一个陨石后再生成下一个陨石之间的最小时间间隔(以秒为单位) | 默认值= 20 | 类型= Integer
min_meteor_cooldown_time:20
#陨石在撞击时是否应破坏方块? | 默认值= true | 类型= Boolean
meteor_griefing:true
#当大陨石破碎时产生的碎片陨石在撞击时是否应破坏方块? | 默认值= true | 类型= Boolean
scatter_meteor_griefing:false
#陨石在撞击后是否应生成陨石结构体? | 默认值= true | 类型= Boolean
meteor_structure:true
#当大陨石破碎时产生的碎片陨石在撞击时是否应生成结构体? | 默认值= true | 类型= Boolean
scatter_meteor_structure:false
#陨石结构体是否仅替换空气方块? | 默认值= false | 类型= Boolean
only_replace_air:false
#当大陨石破碎时产生的碎片陨石为其结构体是否仅替换空气方块? | 默认值= true | 类型= Boolean
scatter_only_replace_air:true
#陨石撞击时是否应生成火焰?(看起来很酷!) | 默认值= true | 类型= Boolean
spawn_fire_with_meteor:false
# 基础激光方块覆盖的 xz 区域半径(以区块为单位),流星将在该范围内被炸毁 | 默认值= 32 | 类型= 整数
basic_laser_area_radius:32
# 从基础激光位置向上检查多少格高度的流星?(注意:检测框只有 2 格厚,并非贯穿整个高度) | 默认值= 64 | 类型= 整数
basic_laser_height:64
# 高级激光方块覆盖的 xz 区域半径(以区块为单位),流星将在该范围内被炸毁 | 默认值= 48 | 类型= 整数
advanced_laser_area_radius:48
# 从高级激光位置向上检查多少格高度的流星?(注意:检测框只有 2 格厚,并非贯穿整个高度) | 默认值= 64 | 类型= 整数
advanced_laser_height:64
# 激光刚刚发射后是否应进入无法发射的冷却状态? | 默认值= true | 类型= 布尔值
should_basic_laser_cooldown:true
# 此冷却状态持续多少秒? | 默认值= 3 | 类型= 整数
basic_laser_cooldown:3
# 激光刚刚发射后是否应进入无法发射的冷却状态? | 默认值= true | 类型= 布尔值
should_advanced_laser_cooldown:true
# 此冷却状态持续多少秒? | 默认值= 1 | 类型= 整数
advanced_laser_cooldown:1
# 可被视为小型的最大流星尺寸,撞击时将生成小型流星结构 | 默认值= 4 | 类型= 整数
max_small_meteor_size:4
# 可被视为中型的最大流星尺寸,撞击时将生成中型流星结构 | 默认值= 7 | 类型= 整数
max_medium_meteor_size:7
# 可被视为大型的最大流星尺寸,撞击时将生成大型流星结构。默认情况下,只有这些才能生成流星猫。 | 默认值= 20 | 类型= 整数
max_big_meteor_size:20
# 在特定尺寸类别中生成特殊流星结构的几率(例如流星猫流星)(运作方式与其他几率相同,即 x 分之一的概率) | 默认值= 10 | 类型= 整数
special_meteors_chance:10
# 是否强制启用流星和激光粒子效果?它们将在更远的距离渲染且外观更好,但如果数量过多,出于卡顿原因您可能希望禁用此项。注意:某些粒子永远不会以强制模式显示,例如激光的目标框 | 默认值= true | 类型= 布尔值
use_forced_particles:true
# 流星可以自然生成的维度 ID 列表,包括原版和非原版维度。 | 默认值= [minecraft:overworld, minecraft:the_end] | 类型= List12
spawn_dimensions:[minecraft:overworld, minecraft:the_end]
# 由 dimension=chance 组成的映射。维度必须存在于上述列表中,否则流星将完全不会生成。如果存在,此几率将始终覆盖默认值。生成几率如上所述工作。 | 默认值= {minecraft:the_end=300000} | 类型= Map1
dimension_chances:{minecraft:the_end=300000}
# 与上述相同,但如果启用,夜间可能具有不同的几率 | 默认值= {minecraft:the_end=100000} | 类型= Map1
dimension_night_chances:{minecraft:the_end=100000}
# 如果设置为 false,则表现为黑名单,即流星不会在这些生物群系中生成。如果为 true,则表现为白名单,流星仅会在这些生物群系中生成。 | 默认值= false | 类型= 布尔值
biome_list_mode:false
# 根据上述设置,流星将生成或不生成的生物群系的黑色或白色列表 | 默认值= [minecraft:cherry_grove, minecraft:soul_sand_valley, modname:modbiome] | 类型= ListN
biome_spawn_list:[modname:modbiome]
# 由 biome=chance 组成的映射。生成几率如上所述工作。流星必须能够在这些生物群系中生成,否则它们就不会生成! | 默认值= {minecraft:desert=29990, modname:modbiome=2025} | 类型= MapN
biome_chances:{modname:modbiome=2025}
# 与上述相同,但如果启用,夜间可能具有不同的几率 | 默认值= {minecraft:desert=9995, modname:modbiome=2025} | 类型= MapN
biome_night_chances:{modname:modbiome=2025}
# 如果为 true,将使用球形爆炸效果而不是原版的立方体爆炸效果。在较高的爆炸威力/范围下,这些效果看起来更好,但在威力超过 100 后会变得相当卡顿。 | 默认值= true | 类型= 布尔值
use_better_explosions:true
# 流星应在多远距离内渲染。警告:更改此值后,您需要重启服务器和客户端才能生效。它乘以服务器的“实体渲染”距离 | 默认值= 200 | 类型= 整数
meteor_render_distance:200
# 如果为 true,流星雨有几率生成(大量流星在同一时间同一地点生成。这也可能导致短暂的卡顿,但没什么太严重的) | 默认值= true | 类型= 布尔值
meteor_showers_enabled:true
# 流星雨生成的几率(叠加在正常流星生成几率之上,因此是 meteor_spawn*meteor_shower 生成) | 默认值= 100 | 类型= 整数
meteor_shower_chance:100
# 流星雨中将要生成的流星最小数量。 | 默认值= 5 | 类型= 整数
min_meteors_in_shower:5
# 流星雨中将要生成的流星最大数量。 | 默认值= 20 | 类型= 整数
max_meteors_in_shower:20
# 在延迟和方向延迟流星雨中,每个生成的流星之间的延迟(以刻为单位) | 默认值= 15 | 类型= 整数
meteor_shower_delay_ticks:15
# 如果为 true,当流星经过时天空会发出某种颜色。这仅适用于流星在渲染范围内而非世界或服务器全局的情况。 | 默认值= true | 类型= 布尔值
meteor_skyglow:true
# 如果启用,当流星经过时应用于天空的颜色。默认为浅蓝青色。请注意,Minecraft 仍然会应用其自身的颜色,因此某些色调(如绿色)的效果不如其他色调(如蓝色)好 | 默认值= #048da5 | 类型= 字符串
meteor_skyglow_color:#048da5
支持
最好的方式是将模组分享给尽可能多的人,欢迎制作视频教程、游戏实况等!这会非常有帮助!
你也可以通过以下链接直接支持我:
许可证
GNU GPL3。是的,你可以将此模组添加到整合包中,无需事先询问我。
A mod that allows space-adjacent (or normal!) cobblemon pokémons to spawn inside a falling meteorite,
courtesy of the OhMyMeteors mod!
When a pokémon normally spawns, the mod checks if it should spawn inside a meteor (configurable with datapacks), and with which chance. Then, a falling meteor
spawns in the sky above the pokémon's spawn position, creating an impact crater along with a meteor and the pokémon itself when it lands. The pokémon follows all of the normal spawn rules you can define with Cobblemon's datapacks, so for example if it should have spawned only in cold biomes, it will spawn only in cold biomes, if it was supposed to be of a level between 20 and 30, it will have a level between 20 and 30 and so on. Note: only pokemon spawned on the surface (aka whenever they can see the sky) will be able to trigger a meteor spawn. This is to prevent meteors trying to reach caves but ending up exploding on the surface.
It's highly suggested to also download Cobblemon Megashowdown mod, a lot of space-ish pokemon models are added by that mod.
The best way to enjoy this mod is with other people on a server, so you can use the code EMALIGHTDEV on Nodecraft for discount!
Features
Pokemons can spawn with different meteor structures of different size classes, they can also be unique and be specific for some
of their aspects (for example Minior's core color)
Default spawns
By default the mod adds meteor spawns for:
- Minior: small meteors, each core color has a unique one, always spawns as a meteor
- Clefable: medium meteors, 1/8 chance of spawning inside a meteor
- Clefairy: small meteors, 1/6 chance of spawning inside a meteor
- Cleffa: same as clefairy
- Lunatone: medium meteors, has its unique meteor, 1/3 chance of spawning inside a meteor
- Solrock: same as lunatone (has its own unique meteor)
- Deoxys: big meteor, has its own unique meteor, always spawns in a meteor
- Solgaleo: big meteor, they spawn directly without a meteor structure, always spawns insde a meteor
- Lunala: same as solgaleo
- Necrozma: same as solgaleo and lunala
- Kyurem: huge meteor, has its own icy meteor, always spawns as a meteor (yes I know, technically it should have been the original dragon)
Customize spawns (datapack)
You can customize which pokémon spawn with meteors, what are the chance, and the meteor structure that they spawn in.
To do this, you must create a json file inside data/pokemeteors/spawns/<yourfilename>.json
The structure inside the file should be as it follows:
{
"speciesMeteorChances": [
{
"species": "cobblemon:<pokemonname>",
"chance": <1 in x chances>,
"max_meteor_size": <1-50>,
"min_meteor_size": <1-50>,
"meteor_size_class": "<small|medium|big|huge>",
"unique_meteor": "",
"aspect_unique_meteor": {}
},
{
"species": "cobblemon:clefairy",
"chance": 10,
"max_meteor_size": 6,
"min_meteor_size": 3,
"meteor_size_class": "small",
"unique_meteor": "",
"aspect_unique_meteor": {}
}
],
"override_for": [],
"version_do_not_touch": 1
}
Inside specieMeteorChances you can put pokémons that should spawn with a meteor.
Each pokemon-chance has a few parameters you have to fill and others which allow you to specify with which meteor structure it will spawn
species: The id of the pokémon that should spawn with a meteor
chance: The chance of this pokémon spawing with a meteor vs spawning normally, expressed as 1 in every <x> chance of this happening. (For example, setting it to 2 will make the pokemon spawn with a 50% chance, aka half of the times)
max_meteor_size: A number between 1 and 50, represents how big the meteor can be at most. The bigger the meteor, the bigger the explosion. And the meteor entity that gets rendered in game
min_meteor_size: Same as above, but the minimum size
meteor_size_class: One of 4 possible values, small, medium, big, huge. This value is used to determine how deep the meteor structure will be embedded, and a rough description of how big the meteor is going to be. It also used to determine with which meteor structure the pokémon will spawn, in fact the to each class corresponds a set of meteor structure types
unique_meteor: An option value, overrides the meteor structure selected by the meteor size class and instead spawns a specific structure, given its id. You can also use "pokemeteors:simple_spawn" to spawn the pokemon at the center of the meteor impact crater without any kind of structure
aspect_unique_meteor: similar to the option above, it's a map of aspect:structure_id, and it will spawn a unique meteor structure for the given aspect. An example is Minior, with each core color spawning with its own meteor structure
override_for lets you specify overrides on specific pokémons, for example let's say you want to spawn a minior with your own structure, but the default datapack spawns with the default colored meteors. By putting "cobblemon:minior" in the list your config will override the default (or other) values. To override all of the default pokémon spawns you can add as a first element of the list "all_default"
Customize meteor structures (datapack)
You can add your own structures for the meteors the pokémon spawn in. These have the same format of the vanilla StructureBlock .nbt files, and you can generated them the same way. You can also use worldedit and litematica by using the command provided by OhMyMeteors (/omm custom), check that modpage for more info.
You can place those files inside data/pokemeteors/structure/. Place unique structures that you don't want to spawn normally but just for some kind of pokemon in the root folder (<-- that one), and other meteors in the folder corresponding to their size category, like small for small meteors etc. Inside the size folders you can also have a 'special' folder, like so: data/pokemeteors/structure/small/special/. A structure placed in the special folder will have a rarer (10%) chance of appearing instead of the normal ones. You can configure this chance in OhMyMeteor's config
If you want to get rid of a specific structure added by default by this mod you can add a file in the corresponding folder with the same name but prefixed with "ignore_". For example, if you don't want to spawn the solmeteor structure, you will add this file in this location: data/pokemeteors/structure/medium/ignore_solmeteor.nbt. You can also decide to ignore all default meteors added by the mod and add your own instead. In this case you can place a file nameed ignore_defualt.nbt in the structure root folder.
To spawn a pokemon, inside the meteor structure you must place a sign
(of any kind) where you write pokespawn. The pokemon will then spawn in that position when the metor lands
Example datapack
You can find a link to a datapack example here
If you have questions, open an issue on GitHub or shoot me a message on discord at @Emafire003
Config
By installing YetAnotherConfigLib and ModMenu you can tweak a few settings, regarding the spawn of meteors when using the /pokespawn command as well as when and if to announce meteor spawns along with which pokémon they contain etc
Suggested config for OhMyMeteors
Here are some suggestions on how to edit Oh My, Meteors! config to have a better experience when using it with this mod:
min_meteor_spawn_distance:15 makes the meteor spawn a little further away so they fall more diagonally
max_meteor_spawn_distance:50 same as above
meteor_spawn_chance:-1 disables natural meteor spawn
area_explosion_sound:true allows more people to hear the meteor falling
area_explosion_sound_radius:200 but not too many people
spawn_fire_with_meteor:false especially for simple_spawn pokemon, they might catch on fire. But on the other hand, meteor craters look much cooler with fire.
Config file version 7 example (OhMyMeteors 1.4.0)
#The version of the config. DO NOT CHANGE IT :D | default= 7 | type= Integer
version:7
#Expressed in blocks, represents the min distance (as in a radius) from the origin of the meteor (like a player) in which the meteor wont' spawn in. (Remember that it has an angled trajectory so it could end up in that area regardless) | default= 2 | type= Integer
min_meteor_spawn_distance:15
#Expressed in blocks, represents the max distance (as in a radius) from the origin of the meteor (like a player) in which a meteor can spawn in. (Remember that it has an angled trajectory so it could end up in that area regardless) | default= 25 | type= Integer
max_meteor_spawn_distance:50
#The world height (y level) at which meteors spawn in | default= 300 | type= Integer
meteor_spawn_height:300
#The higher the value the less the meteor will go diagonally, and will keep mostly vertical. (randomness remains so it's not 100%). Generally, you can remain between 1 and 10. | default= 3.1 | type= Double
meteor_dispersion_factor:3.1
#Expressed as '1 in <x>' chances of spawning a meteor each tick (similar to randomTickSpeed). Setting it to a negative value will disable natural meteor spawn For example, by default it has a chance of 1 in 20000 | default= 30000 | type= Integer
meteor_spawn_chance:-1
#Should huge meteors be able to spawn? They are meteors bigger than the maximum size of the big ones | default= true | type= Boolean
spawn_huge_meteors:true
#The chance for a spawned meteor to be of huge size. Expressed as in 1 in x chances. (on top of the 'normal' spawning chance) | default= 100 | type= Integer
huge_meteor_chance:100
#The size limit of how big a huge meteor can be | default= 40 | type= Integer
huge_meteor_size_limit:40
#Should the spawn rate be different during the night? | default= false | type= Boolean
modify_spawn_chance_at_night:false
#The chance for a meteor to spawn at night if enabled. Expressed as in 1 in x chances. | default= 10000 | type= Integer
meteor_night_spawn_chance:10000
#The smallest size a natural meteor can have when spawned in. Cannot go below 1 | default= 1 | type= Integer
natural_meteor_min_size:1
#The biggest size a natural meteor can have when spawned in. Cannot go above 50. | default= 10 | type= Integer
natural_meteor_max_size:10
#A factor to ADD to the explosion power (by default, the power is equal to the meteor size), thus increasing the damage and radius of the explosion. Also supports negative numbers | default= 0 | type= Integer
explosion_power_modifier:0
#A factor to ADD to the speed at which the meteor falls downwards. It is added to a randomly generated number between 1 and 0. Also supports negative numbers | default= 0 | type= Integer
downwards_speed_modifier:0
#Should meteors explode when they come into contact with an entity? (if true you could use an arrow to make the meteor explode for example) | default= false | type= Boolean
explode_on_entity_collision:false
#This option has no effect as of version 0.4.0. Please use the 'ohmymeteors:meteor_bypasses' tag instead. | default= true | type= Boolean
should_bypass_leaves:true
#This option has no effect as of version 0.4.0. Please use the 'ohmymeteors:meteor_bypasses_and_destroy' tag instead | default= true | type= Boolean
should_destroy_leaves:true
#Should meteors be (more or less) directed towards the nearest player? | default= false | type= Boolean
homing_meteors:false
#Should players get a message in chat/hotbar when a meteor spawns? | default= false | type= Boolean
announce_meteor_spawn:false
#Should players get a message in chat/hotbar when a meteor is destroyed? | default= false | type= Boolean
announce_meteor_destroyed:false
#Should the above announcement be displayed above the hotbar in the actionbar or in chat? | default= true | type= Boolean
actionbar_announcements:true
#If announcements are enabled, should they also display the (approximate) coordinates of the meteor being spawned/destroyed? | default= true | type= Boolean
announce_location:true
#Should the explosion sound of the meteor be heard by all players online? | default= false | type= Boolean
global_explosion_sound:false
#Should the explosion sound of the meteor be heard by all players around a certain area from the impact point? | default= false | type= Boolean
area_explosion_sound:true
#The radius in blocks of the area in which the sound of the meteor will be heard if the option above is true | default= 500 | type= Integer
area_explosion_sound_radius:200
#Should there be a cooldown between a meteor spawning one meteor and then another? | default= true | type= Boolean
should_cooldown_between_meteors:true
#The minimum time interval (in seconds) between spawning a meteor and then another | default= 20 | type= Integer
min_meteor_cooldown_time:20
#Should meteors be able to destroy blocks on impact? | default= true | type= Boolean
meteor_griefing:true
#Should the meteors that come out of a bigger meteor when it's broken be able to destroy blocks on impact? | default= true | type= Boolean
scatter_meteor_griefing:false
#Should meteors spawn the meteor structure after impact? | default= true | type= Boolean
meteor_structure:true
#Should the meteors that come out of a bigger meteor when it's broken be able to destroy spawn structures on impact? | default= true | type= Boolean
scatter_meteor_structure:false
#Should the meteor structure only replace air blocks? | default= false | type= Boolean
only_replace_air:false
#Should the meteors that come out of a bigger meteor when it's broken only replace air blocks for their structure? | default= true | type= Boolean
scatter_only_replace_air:true
#Should fire be spawned on meteor impact? (it looks cool!) | default= true | type= Boolean
spawn_fire_with_meteor:false
#The radius in blocks of the xz area covered by the Basic laser block, where meteors will be blown up | default= 32 | type= Integer
basic_laser_area_radius:32
#How many blocks up from the position of the basic laser should meteors be checked for? (note that the detection box is only 2 blocks thick, not the whole way) | default= 64 | type= Integer
basic_laser_height:64
#The radius in blocks of the xz area covered by the advanced laser block, where meteors will be blown up | default= 48 | type= Integer
advanced_laser_area_radius:48
#How many blocks up from the position of the advanced laser should meteors be checked for? (note that the detection box is only 2 blocks thick, not the whole way) | default= 64 | type= Integer
advanced_laser_height:64
#Should the laser be in a cooldown where it can't fire, after it has just fired? | default= true | type= Boolean
should_basic_laser_cooldown:true
#How many seconds should this cooldown last? | default= 3 | type= Integer
basic_laser_cooldown:3
#Should the laser be in a cooldown where it can't fire, after it has just fired? | default= true | type= Boolean
should_advanced_laser_cooldown:true
#How many seconds should this cooldown last? | default= 1 | type= Integer
advanced_laser_cooldown:1
#The maximum size of meteor that can be considered small, and will spawn a small meteor structure upon impact | default= 4 | type= Integer
max_small_meteor_size:4
#The maximum size of meteor that can be considered medium, and will spawn a medium meteor structure upon impact | default= 7 | type= Integer
max_medium_meteor_size:7
#The maximum size of meteor that can be considered big, and will spawn a big meteor structure upon impact. Only these can spawn a meteor cat by default. | default= 20 | type= Integer
max_big_meteor_size:20
#The chance of spawning a special meteor structure in a certain size category (for example the meteor cat meteor) (works like the other chances, aka 1 in x probability) | default= 10 | type= Integer
special_meteors_chance:10
#Should meteor and laser particles be forced? They will be rendered further away and look better, but if there are too many of them you may want to disable this for lag reasons. Note: some particles will never displays as forced, like the lasers target box | default= true | type= Boolean
use_forced_particles:true
#A list of the IDs of the dimensions in which meteors can naturally spawn in, vanilla or not. | default= [minecraft:overworld, minecraft:the_end] | type= List12
spawn_dimensions:[minecraft:overworld, minecraft:the_end]
#A map consisting of dimension=chance of spawning. The dimension must be present in the list above, otherwise meteors won't spawn at all. This chance will ALWAYS ovveride the default if present. The spawn chance works as described above. | default= {minecraft:the_end=300000} | type= Map1
dimension_chances:{minecraft:the_end=300000}
#The same as above but with a possibly different chance at night if enabled | default= {minecraft:the_end=100000} | type= Map1
dimension_night_chances:{minecraft:the_end=100000}
#If set to false will behave like a blacklist, aka meteors won't spawn in those biomes. If true will behave like a whitelist, meteors will spawn ONLY in those biomes. | default= false | type= Boolean
biome_list_mode:false
#A black or whitelist of the biomes in which meteor will or will not spawn according to the setting above | default= [minecraft:cherry_grove, minecraft:soul_sand_valley, modname:modbiome] | type= ListN
biome_spawn_list:[modname:modbiome]
#A map consisting of biome=chance of spawning. The spawn chance works as described above. The meteors must be able to spawn in those biomes, otherwise they won't! | default= {minecraft:desert=29990, modname:modbiome=2025} | type= MapN
biome_chances:{modname:modbiome=2025}
#The same as above but with a possibly different chance at night if enabled | default= {minecraft:desert=9995, modname:modbiome=2025} | type= MapN
biome_night_chances:{modname:modbiome=2025}
#If true will use a spherical explosion instead of the vanilla cubical one. These look nicer at higher explosion power/ranges, but after power 100 become quite laggy. | default= true | type= Boolean
use_better_explosions:true
#How far should meteors be rendered. WARNING: YOU NEED TO RESTART YOUR SERVER AND CLIENT IF YOU CHANGE THIS VALUE in order for it to take effect. It is multiplied by the 'entity render' distance of the server | default= 200 | type= Integer
meteor_render_distance:200
#If true, there will be a chance that meteor showers will spawn (a lot of meteors spawning at the same time & place. it can also cause brief lag spikes, nothing too dramatic tho) | default= true | type= Boolean
meteor_showers_enabled:true
#The chance for a meteor shower to spawn (on top of the normal meteor spawning chance, so it's meteor_spawn*meteor_shower spawn) | default= 100 | type= Integer
meteor_shower_chance:100
#The minimum number of meteors that are going to spawn in the meteor shower. | default= 5 | type= Integer
min_meteors_in_shower:5
#The maximum number of meteors that are going to spawn in the meteor shower. | default= 20 | type= Integer
max_meteors_in_shower:20
#The delay (in ticks) between each meteor that gets spawned in delayed and direction delayed meteor showers | default= 15 | type= Integer
meteor_shower_delay_ticks:15
#If true, makes the sky glow a certain color when a meteor passes by. This only applies if the meteor is in rendering range and not world or server wide. | default= true | type= Boolean
meteor_skyglow:true
#The color to apply to the sky when a meteor passes by if it's enabled. By default it's a lightblue-cyan color. Bear in mind that Minecraft still applies its own colors, so some shades (like green) work less well than others (blue) | default= #048da5 | type= String
meteor_skyglow_color:#048da5
Support
The best way to do that, is sharing the mod with as many people as you know, feel free to make video tutorials/gameplayes and such! It would really help!
You can directly support me by offering a coffe at this link:
License
GNU GPL3. Yes you can add this mod to modpacks without asking me.
评论 0
登录后参与评分
还没有评论,来抢沙发吧