
为你的世界增添 spice(风味),巨大的熔岩(或冰冻!)岩石将从天空中坠落!
此模组添加了陨石,即偶尔会从天空中随机坠落的岩石块,撞击时会爆炸,并在其造成的撞击坑中留下有用的资源。这些爆炸效果甚至比原版还要出色!
你可以制作激光来抵御这些敏感天石带来的破坏力,或者也许你能在其中发现一些可爱之处!喵!

Boodlyneck 制作的 0.1.0 版本模组视频展示:
以及 AsianHalfSquat YouTube 上的 1.4.0 版本视频展示
此模组具有极高的可配置性,意味着你可以根据喜好随意调整它。你喜欢在夜间生成更多陨石吗?酷!希望它们不爆炸任何东西?没问题!还有许多其他设置选项!
灵感源自旧版陨石模组,并由 SlayerTheChikken 委托开发
与他人一起在服务器上享受此模组的最佳方式,因此你可以在 Nodecraft 上使用代码 EMALIGHTDEV 获得折扣!
此外,请查看 Tekxit 整合包:
喜欢酷炫的模组吗?看看我开发的其他内容,可能会找到像 LightWithin 这样有趣的东西,它为每位玩家增添了独特的能力!
功能列表
陨石大小
陨石可以以多种不同的大小生成,尺寸越大,造成的伤害和留下的“结构”就越大。你可以调整能够生成的陨石大小类型以及陨石生成的频率。
可自定义的陨石
你可以使用数据包添加自己的陨石结构,就像示例那样!你可以指定你的结构可以在哪种大小类别中生成,以及它是否是特殊的。(特殊类型的出现几率较低)。它们是 NBT 结构文件,类似于原版结构方块中的文件。参见 示例数据包
激光方块
它们用于通过向陨石发射激光并在空中将其摧毁,从而保护你的基地免受坠落陨石的侵害。
激光分为两个等级:
- 基础型激光默认射程较短,但仍然非常可观(你可以在配置文件中更改它!)。它的冷却时间较长(默认为 3 秒,你甚至可以完全禁用它),并且无法摧毁超过一定大小的陨石(最大可缩小至比最大尺寸小 1/3 的尺寸,这也是可配置的)
- 高级激光覆盖面积更大,冷却时间更短,并且可以摧毁所有类型的陨石。然而,你需要收集一些陨石碎块来合成陨石合金,以便将基础激光升级为这个高级版本
你可以使用 聚焦透镜 物品与激光进行交互,使其显示当前覆盖的区域。当陨石击中该区域时,激光激活并引爆陨石。
物品
此模组还添加了一些物品,陨石碎块 可以通过在不使用精准采集的情况下破坏陨石落地时生成的 陨石岩 获得。这可以转化为 9 个原铁锭,或用于制作 陨石合金。你需要将 2 个陨石碎块与 2 个铁锭结合以获得 2 个合金,然后可以在高级激光的合成中使用它。接下来是 聚焦透镜,它们用于两种激光的合成。需要青瓷玻璃、紫水晶和石英。
陨石岩方块 (1.5.0+)
现在陨石实体和陨石岩拥有 3 种纹理阶段:HOT(热)、MID(中)和 NORMAL(正常),其中后者为通常状态。陨石岩最初处于 HOT 状态,并随时间逐渐退化至 NORMAL 状态,逐渐冷却。在 HOT 状态下,它会像岩浆块一样每次接触都伤害玩家;在 MID 状态下,有时会造成伤害;NORMAL 状态下则不会造成任何伤害。
对方块使用雪球会使其状态向下递减一级,而使用打火石则会使其热度上升。你可以使用回声碎片使某种状态永久固定。
陨石结构 - 可自定义的陨石!
那些在陨石爆炸时生成的结构。它们位于 /data/ohmymeteors/structure 文件夹中(如果低于 mc1.21 版本则为 _s_),你可以使用数据包对其进行自定义。它们是原版结构方块中提取出的相同文件。从 1.2.0 版本开始,有一种更简单的方法来使用命令添加自定义陨石,详见下方命令部分!


示例数据包位于 此处。如果你想移除默认结构的生成,可以添加一个结构文件(例如复制其中一个默认文件)并将其命名为 ignore_<nameofthestructuretoremvoe>.nbt,或者如果你想忽略所有默认结构,请使用 ignoredefault.nbt。
这些结构还可以包含实体,例如:
陨石猫
一只可爱的猫咪可能随时都在穿越银河系。它可能会降临到你的 Minecraft 世界中(前提是你别用激光把它打下来)。它们能在火焰中生存,拥有 15 点生命值而非默认的 10 点;如果你选择处置它们,它们会掉落一些陨石碎块(提醒你残酷的行为以及沾满宇宙猫血的双手)。
流星雨!
流星雨是一种罕见现象,大量陨石会同时坠落。现已添加三种类型的流星雨:
- 「即时型」:所有陨石围绕中心点同时坠落
- 「延迟型」:每颗陨石在上一颗之后稍晚生成
- 「定向延迟型」:每颗陨石在上一颗之后生成,但所有陨石遵循大致相同的轨迹

配置文件
从版本 1.5.0 开始,你需要安装 FzzyConfig,作为交换,你将获得一个精美的配置菜单界面,可从模组菜单中打开。如果你是服务器管理员或拥有 ohmyemeteors.config.edit 权限,你可以直接在游戏内编辑服务器配置文件。
该文件位于 /config/ohmymeteros/ohmymeteors_config.toml,其中包含许多可供你按需调整的设置。
你可以在游戏中使用 /omm reload 命令或通过保存更改来重新加载配置。

配置文件版本 1.5.0
# 请勿修改此值!用于追踪所需更新的版本号。
version = 8
# 陨石生成
[meteorSpawning]
# 以“每 <x> 次中 1 次”的概率表示每次刻生成陨石的几率(类似于 randomTickSpeed)。设置为负值将禁用自然陨石生成。例如,默认概率为 30000 分之一,即 0.03%,或 1/30000
meteor_spawn_chance = 30000
# 夜间生成率是否应有所不同?
modify_spawn_chance_at_night = false
# 如果启用,陨石在夜间生成的几率。如上所述,以“每 <x> 次中 1 次”的几率表示。
meteor_night_spawn_chance = 10000
# 在特定大小类别中生成特殊陨石结构的几率(例如陨石猫陨石),这是在正常陨石生成几率之上的额外几率。(工作原理与其他几率相同,即每 <x> 次中 1 次的概率)
special_meteors_chance = 10
# 巨型陨石是否能够生成?它们是比最大尺寸的大型陨石还要大的陨石
spawn_huge_meteors = true
# 生成的陨石为巨型尺寸的几率。以“每 <x> 次中 1 次”的几率表示。(在“正常”生成几率之上)
huge_meteor_chance = 100
# 以方块为单位表示,代表陨石原点(如玩家)周围陨石不会生成的最小距离(即半径)。(请记住,它具有倾斜轨迹,因此无论如何仍可能落入该区域)
min_meteor_spawn_distance = 5
# 以方块为单位表示,代表陨石原点(如玩家)周围陨石可以生成的最大距离(即半径)。(请记住,它具有倾斜轨迹,因此无论如何仍可能落入该区域)
max_meteor_spawn_distance = 25
# 陨石在世界中生成的世界高度(Y 轴等级)
meteor_spawn_height = 300
# 在一颗陨石生成后,下一颗陨石生成之间是否应有冷却时间?
should_cooldown_between_meteors = true
# 生成一颗陨石到生成下一颗陨石之间的最小时隔(以秒为单位)
min_meteor_cooldown_time = 20
# 该值越高,陨石越不会斜向飞行,而主要保持垂直下落。(随机性仍然存在,因此并非 100% 垂直)。通常,建议保持在 1 到 10 之间。
meteor_dispersion_factor = 3.1
# 陨石可以或不可以自然生成的维度 ID 列表(参见下面的 mode 设置),无论是原版还是模组添加的维度。
spawn_dimensions = [
"minecraft:overworld",
"minecraft:the_end"
]
# 如果设置为 false,则表现为黑名单,即陨石不会在这些维度中生成。如果为 true,则表现为白名单,陨石仅会在这些维度中生成。
dimension_list_mode = true
# 一个由 dimension:chance(维度:生成几率)组成的映射。维度必须是上述指定允许陨石生成的维度之一,否则陨石将完全不会生成。如果存在此设置,其生成几率将始终覆盖默认几率。生成几率的工作原理如上所述。
dimension_chances = { "minecraft:the_end" = 300000 }
# 与上述相同,但如果启用夜间选项,则在夜间可能有不同的几率
dimension_night_chances = { "minecraft:the_end" = 100000 }
# 陨石可以或不可以自然生成的生物群系 ID 列表(参见下面的 mode 设置),无论是原版还是模组添加的生物群系。
biome_spawn_list = [ "minecraft:cherry_grove", "minecraft:soul_sand_valley", "modname:modbiome" ]
# 如果设置为 false,则表现为黑名单,即陨石不会在这些生物群系中生成。如果为 true,则表现为白名单,陨石仅会在这些生物群系中生成。
biome_list_mode = false
# 一个由 biome=chance(生物群系=生成几率)组成的映射。生成几率的工作原理如上所述。陨石必须能够在这些生物群系中生成,否则它们将不会生成!
biome_chances = { "minecraft:desert" = 29990, "modname:modbiome" = 2025 }
# 与上述相同,但如果启用夜间选项,则在夜间可能有不同的几率
biome_night_chances = { "minecraft:desert" = 9995, "modname:modbiome" = 2025 }
# 自然生成的陨石最小的尺寸。不能低于 1
natural_meteor_min_size = 1
# 自然生成的陨石最大的尺寸。不能高于 50。
natural_meteor_max_size = 10
# 可被视为小型陨石的最大尺寸,撞击后将生成小型陨石结构
max_small_meteor_size = 4
# 可被视为中型陨石的最大尺寸,撞击后将生成中型陨石结构
max_medium_meteor_size = 7
# 可被视为大型陨石的最大尺寸,撞击后将生成大型陨石结构。默认情况下,只有这些陨石能生成陨石猫。
max_big_meteor_size = 20
# 巨型陨石的最大尺寸限制
huge_meteor_size_limit = 40
# 陨石行为
[meteorBehaviourSection]
# 爆炸力度的附加因子(默认情况下,威力等于陨石大小),从而增加爆炸的伤害和范围。也支持负数
explosion_power_modifier = 0
# 爆炸力度的乘数因子(默认情况下,威力等于陨石大小),从而增加爆炸的伤害和范围。
explosion_power_multiplier = 1.0
# 陨石撞击时是否应破坏方块?
meteor_griefing = true
# 陨石撞击后是否应生成陨石结构?
meteor_structure = true
# 陨石结构是否仅替换空气方块?
only_replace_air = false
# 当基础激光摧毁较大的陨石时,是否应生成散射陨石?
spawn_scatter_meteors = false
# 从较大陨石中产生的碎片陨石在撞击时是否应破坏方块?
scatter_meteor_griefing = true
# 从较大陨石中产生的碎片陨石在撞击时是否应生成结构?
scatter_meteor_structure = true
# 从较大陨石中产生的碎片陨石的结构是否仅替换空气方块?
scatter_only_replace_air = true
# 陨石接触实体时是否应爆炸?(如果为 true,你可以使用箭矢来使陨石爆炸)
explode_on_entity_collision = false
# 陨石撞击时是否应生成火焰?(看起来很酷!)
spawn_fire_with_meteor = true
# 如果为 true,将使用球形爆炸而非原版立方体爆炸。在较高的爆炸威力/范围内看起来更好,但威力超过 100 后会略微卡顿。
use_better_explosions = true
# 陨石下落速度的附加因子。它会被加到一个 1 到 0 之间随机生成的数字上。也支持负数(陨石可能会向上飞!)
downwards_speed_modifier = 0
# 陨石下落速度的乘数因子。它会被加到一个 1 到 0 之间随机生成的数字上
downwards_speed_multiplier = 1.0
# 陨石是否(大致)朝向最近的玩家飞行?
homing_meteors = false
# 如果为 true,陨石将尝试像末影珍珠一样加载区块,希望以此实现接触并爆炸
meteors_load_chunks = false
# 陨石被丢弃前最多加载多少个区块?即加载多少个区块算太多?(每个区块为 16 个方块)
chunk_loading_limit = 25
# 通知
[notificationSection]
# 当陨石生成时,玩家是否在聊天栏/状态栏收到消息?
announce_meteor_spawn = false
# 当陨石被摧毁时,玩家是否在聊天栏/状态栏收到消息?
announce_meteor_destroyed = false
# (上述)公告是显示在状态栏还是聊天栏?
actionbar_announcements = true
# 如果启用了公告,是否还应显示正在生成/被摧毁的陨石的大致坐标?
announce_location = true
# 在线所有玩家是否都能听到陨石的爆炸声?
global_explosion_sound = false
# 冲击点周围特定区域内的所有玩家是否都能听到陨石的爆炸声?
area_explosion_sound = false
# 如果上述选项为 true,在此半径内的方块中可以听到陨石声音
area_explosion_sound_radius = 500
# 设置为 true 以便在调试时获取更多信息
verbose = false
# 激光
[lasersSection]
# 基础激光方块覆盖的 xz 区域半径(以方块为单位),在此区域内陨石将被摧毁
basic_laser_area_radius = 32
# 应从基础激光位置向上检查多少方块的陨石?(注意检测框只有 2 个方块厚,并非整个高度)
basic_laser_height = 64
# 高级激光方块覆盖的 xz 区域半径(以方块为单位),在此区域内陨石将被摧毁
advanced_laser_area_radius = 48
# 应从高级激光位置向上检查多少方块的陨石?(注意检测框只有 2 个方块厚,并非整个高度)
advanced_laser_height = 64
# 激光刚刚发射后,是否进入无法发射的冷却时间?
should_basic_laser_cooldown = true
# 此冷却时间应持续多少秒?
basic_laser_cooldown = 5
# 激光刚刚发射后,是否进入无法发射的冷却时间?
should_advanced_laser_cooldown = true
# 此冷却时间应持续多少秒?
advanced_laser_cooldown = 3
# 视觉效果
[visualsSection]
# 是否强制使用流星和激光粒子?它们将在更远的距离渲染,看起来更好,但如果数量过多,出于卡顿原因您可能希望禁用此选项。注意:某些粒子永远不会以强制模式显示,例如激光的目标框
use_forced_particles = true
# 注意:此设置对客户端和服务端性能都有很大影响。这是一个服务端设置。
# FANCY(华丽):最佳的粒子动画效果,但在生成大量流星时可能会导致卡顿,
# LESS(较少):一种折中方案,卡顿稍轻,粒子外观依然良好,
# MINIMAL(极简):一种折中方案,显著减少卡顿,但部分粒子会被移除,
# NONE(无):性能最佳,不会向客户端发送任何粒子
particles_mode = "FANCY"
# 流星的渲染距离是多少。警告:更改此值后,您需要重启服务端和客户端才能生效。该值会与服务器的“实体”渲染距离相乘
meteor_render_distance = 200
# 如果为 true,当流星经过时天空会呈现特定颜色。这仅适用于在渲染范围内的流星,而非世界范围或服务器范围。
meteor_skyglow = true
# 选择流星实体的投射物外观。
# DYNAMIC_AUTO(动态自动):纹理会根据接近地面高度或水平飞行时间的增加而从正常变为炽热
# DYNAMIC_HEIGHT(动态高度):纹理会根据接近地面高度的增加而从正常变为炽热
# DYNAMIC_DISTANCE(动态距离):纹理会根据飞行距离的增加而从正常变为炽热
# NORMAL(普通):固定为普通级别的纹理
# MID(中等):固定为中等炽热级别的纹理
# HOT(炽热):固定为高炽热级别的纹理
meteor_texture_mode = "DYNAMIC_AUTO"
# 当流星纹理模式设置为 DYNAMIC_DISTANCE(或使用距离的自动模式)时,从中等炽热变为高炽热的纹理变化距离(方块单位)
texture_change_distance_hot = 70
# 当流星纹理模式设置为 DYNAMIC_DISTANCE(或使用距离的自动模式)时,从普通变为中等炽热的纹理变化距离(方块单位)
texture_change_distance_mid = 70
# 流星经过时天空应用的颜色(如果启用)。默认为浅蓝青色。请注意,Minecraft 仍会应用其自身的颜色,因此某些色调(如绿色)的效果不如其他色调(如蓝色)好
[visualsSection.meteor_skyglow_color]
# 红色分量,0 到 255
r = 4
# 绿色分量,0 到 255
g = 141
# 蓝色分量,0 到 255
b = 161
# 流星雨
[meteorShowerSection]
# 如果为 true,流星雨有几率生成(大量流星在同一时间同一地点生成。有时也可能导致短暂的卡顿峰值,但并非严重问题)
meteor_showers_enabled = true
# 流星雨生成的概率(叠加在普通流星生成概率之上,因此总概率为 meteor_spawn * meteor_shower_spawn)
meteor_shower_chance = 100
# 流星雨中将要生成的最少流星数量。
min_meteors_in_shower = 5
# 流星雨中将要生成的最多流星数量。
max_meteors_in_shower = 15
# 在延迟生成和定向延迟生成的流星雨中,每个流星生成之间的延迟(以刻为单位)
meteor_shower_delay_ticks = 15
命令
这里有几个命令:
/omm spawn <size> [velocity] 将沿您注视方向生成指定大小和可选速度的流星
/omm spawn random 将在您周围随机位置、随机方向生成一个随机流星
/omm spawn natural 将模拟自然生成条件生成流星
/omm spawn shower <instant|delayed|delayed_directioned> 将模拟自然生成条件生成指定类型的流星雨(即时、延迟或定向延迟)
/omm spawn targeted <target> 将模拟自然生成条件生成流星,但目标指向特定玩家,类似于配置文件中的 制导 选项
/omm spawn shower <instant|delayed|delayed_directioned> [target] 可选地,流星雨也可以像上述命令一样瞄准特定玩家生成
/omm config reload 重新加载配置文件 [已从 1.5.0 版本弃用]
/omm config preset <preset> 将编辑配置文件以适配预设。目前有两个可用预设:performance(性能)和 no_griefing(防止破坏)
/omm config resetdata 通常您不应使用此命令,但它会重置模组的一些数据,例如某人是否进入过维度、上次流星生成概率增加的时间等。这仅在您在配置部分启用了延迟流星生成或通过时间增加流星生成概率时才相关
添加自定义流星结构/图纸
/omm custom 及其子命令允许您生成数据包,并直接在游戏内添加您的流星结构,无需触碰任何文件。然后您可以打开数据包文件夹并将数据包发送给好友!
添加新流星
/omm custom add <type_of_schematic> <structureId/schemId> <size> <special>
type_of_schematic:用于生成流星结构的图纸/结构文件的类型。目前通过 SchemConvert 支持三种类型:
structureblock:原版的 .nbt 结构文件,您可以使用结构方块创建
worldedit_schematic:WorldEdit 的 .schem 文件,您可以通过 //schem 命令创建
litematica_schematic:Litematica 的 .liteschem 文件 特别是对于图纸文件,重要的是不要将它们从生成的位置移动
structureId/schemId:您要使用的结构/图纸文件的名称。您不需要指定扩展名(如 .schem 或 .nbt)。此名称将与流星结构 ID 相同,但如果需要,稍后可以使用编辑命令更改它
size:与此新流星结构对应的大小,可以是 SMALL(小)、MEDIUM(中)、BIG(大)、HUGE(巨大)
special: 是否为特殊流星,即该结构出现的概率是否低于正常水平
移除默认流星
/omm custom ignoredefaults [true|false] 如果将 ignoredefaults 设置为 true,则本模组的默认流星将被禁用,仅使用自定义流星。请确保每个类别至少添加一个流星结构,否则会报错。
移除流星结构
/omm custom remove <structureId> <size> <special> 如果你想移除之前添加的流星,可以使用此命令。你需要指定结构的名称、对应的大小以及它是否为特殊流星。
编辑流星结构
/omm custom edit <originalName> <ogSize> <ogSpecial> <newName> <newSize> <newSpecial> 你可以使用此命令来编辑结构文件名、类名以及其是否为特殊流星。我觉得现在应该很直观了。
查看已添加的流星
/omm custom display_current 将显示所有对应特定大小和特殊状态的流星。它还会显示你是否当前禁用了默认流星。
模组兼容性
你可以使用 Flan 和 YetAnotherWorldProtector 定义流星不会生成或爆炸的区域。现在你将能够使用 Flan 或 YAWP 来定义流星无法生成或爆炸的区域。Flan 拥有自己的全局设置,而在 YAWP 中禁用流星生成需要将标志位 explosions-entities 设置为 denied。
从版本 1.5.0 开始,你还可以使用 OPAC 通过在“允许爆炸中的方块”标志上启用,来定义流星不会生成或爆炸的领地(claim)。
许可协议
MIT
致谢
SlayerTheChikken 提供了一些素材以及本模组的灵感;Explodee 模组(由 KnownSH 制作)提供了球形爆炸的代码 ;SchemConvert 用于允许在图纸格式之间进行转换

Add spice to your world, with giant peppers of molten (or frozen!) rock that fall from the sky!
This mod adds meteors, chunks of rock that randomly fall from the sky every now and then, exploding on impact and leaving useful resources in the impact craters they make. The explosions are even better than vanilla's ones!
You will be able to craft lasers to defend yourself from the destructive power of these touchy sky rocks, or maybe you could find some cuteness inside some them! Meow!

Video showcase of version 0.1.0 of the mod by Boodlyneck:
And of version 1.4.0 by AsianHalfSquat YouTube
This mod is extremely configurable, meaning that you can adjust it however you like. Would you like more metors at night? Cool! Would like them not to explode anything? Done! And a lot of other settings!
Inspired by the old meteor mods and commissioned by SlayerTheChikken
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!
Also checkout the Tekxit modpack: 
A fan of cool mods? Take a look at what else i've developed, might find something intresting like LightWithn which adds powers unique to each and every player!
Feature list
Meteor sizes
Meteors can spawn in a variety of different sizes, the bigger the size the bigger the damage and the "structure" that will be left behind. You can adjust which size of meteors is able to spawn and how frequently the meteors spawn.
Customizable meteors
You can add your own meteor structures using a datapack, like the example one! You can specify in which size category your structure can be spawned, and if it's special or not. (special ones have a lower chance of appearing). They are NBT structure files, like the ones from the Structure Block. See example datapack
Lasers blocks
They are used to defend your base from the falling meteorites, by shooting a laser at the meteor and destroying it while midair
There are two tiers of lasers:
- The basic one has a shorter, but still very considerable range by default (you can change it in the config file!). It also has a loger cooldown time (3s by default, you can even disable it all together) and won't be able to destroy meteors past a certain size (up to sizes that are 1/3 smaller than the biggest, configurable too)
- The advanced laser, bigger area coverage, shorter cooldown time and can destroy every type of laser. You will however need to gather some meteorich chunks to craft meteoric alloy in order to power up your basic laser to this advanced version
You can interact with the lasers using a Focusing Lenses item to make them display the area that they are currently covering. When a meteor hits this area the laser activates and explodes the meteor.
Items
This mod also adds a few items, Meteoric Chunks which can be obtained when breaking (without Silk Touch) the Meteoric Rock that spawns when meteors explode on land. This can be tuned into 9 raw iron or used to craft Meteoric Alloy. You will need to combine 2 Meteoric Chunks with 2 Iron Ingots to obtain 2 of the alloy, which you can then use in the crafting for the Advanced Laser. Then we have the Focusing Lenses, which are used in the crafting of the two lasers. They require lime glass, amethyst, and quartz.
Meteoric Rock block (1.5.0+)
Now the meteor entity and the meteoric rocks have 3 stages of texture: HOT MID and NORMAL, with the latter being the usual one. The meteoric rock now starts in the HOT state, and degrades all the way to NORMAl with time, cooling down. When HOT it damages players each time like a magma block, when MID it does only sometimes, and NORMAL does nothing.
Using snowballs on the block will make it tick down one state, while using a flint and steel will make it go up in hotness. You can make a state permanent by using an Echo Shard on the block.
Meteor structure - Customizable meteors!
The ones that spawn when a meteor explodes. They are located in the folder /data/ohmymeteors/structure(s if below mc1.21) and you can customize them using a datapack. They are the same files that you get out of the Structure Block in vanilla. From version 1.2.0 there is an easier way to add custom meteors with a command, see more below in the command section!


And an example datapack is located here. If you want to remove default structures from spawning, you can add a structure file (copy one of the default ones for instance) and name it ignore_<nameofthestructuretoremvoe>.nbt, or if you want to ignore all of the use ignoredefault.nbt.
These structures can also contain entities, like the:
Meteor cat
A cute kitty could be travelling the galaxy at any given moment. And it could land on your minecraft world (as long as you don't shoot it down with a laser that is). They can survive in the fire, have a 15HP instead of 10HP, and if you so chose to dispose of them, they will drop some meteoric chunks (reminding you of your cruelty and cosmic-feline-bloodstained hands)
Meteor showers!
Meteor showers are a rare occurrence where a cluster of meteors fall together at the same time. Three types of meteor showers have been added:
- 'instant' where all the meteors fall at the same time around a central point
- 'delayed' with each meteor spawning a bit after the next one
- 'delayed directioned' with each meteor spawning after the next one but with all meteors following the same general trajectory

Config file
From version 1.5.0 you will need to install FzzyConfig, but in exchange you will get a beautyfull config menu screen which you can open from the mod menu. If you are a server admin or you have the ohmyemeteors.config.edit permission you can edit the server config file directly in game.
The file is located at /config/ohmymeteros/ohmymeteors_config.toml it contains a lot of settings that you can adjust to your liking.
You can reload the config in game using /omm reload or by saving your changes.

Config file version 1.5.0
# Don't change this! Version used to track needed updates.
version = 8
# Meteor Spawning
[meteorSpawning]
# 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 30000, so 0.03%, or 1/30000
meteor_spawn_chance = 30000
# Should the spawn rate be different during the night?
modify_spawn_chance_at_night = false
# The chance for a meteor to spawn at night if enabled. Expressed as in 1 in <x> chances, as described above.
meteor_night_spawn_chance = 10000
# The chance of spawning a special meteor structure in a certain size category (for example the meteor cat meteor), on top of the normal meteor spawn chance. (works like the other chances, aka 1 in <x> probability)
special_meteors_chance = 10
# Should huge meteors be able to spawn? They are meteors bigger than the maximum size of the big ones
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)
huge_meteor_chance = 100
# 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)
min_meteor_spawn_distance = 5
# 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)
max_meteor_spawn_distance = 25
# The world height (y level) at which meteors spawn in the world
meteor_spawn_height = 300
# Should there be a cooldown between a meteor spawning one meteor and then another?
should_cooldown_between_meteors = true
# The minimum time interval (in seconds) between spawning a meteor and then another
min_meteor_cooldown_time = 20
# 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 should remain between 1 and 10.
meteor_dispersion_factor = 3.1
# A list of the IDs of the dimensions in which meteors can or cannot naturally spawn in (see mode setting below), vanilla or not.
spawn_dimensions = [
"minecraft:overworld",
"minecraft:the_end"
]
# If set to false will behave like a blacklist, aka meteors won't spawn in those dimensions. If true will behave like a whitelist, meteors will spawn ONLY in those dimensions.
dimension_list_mode = true
# A map consisting of dimension:chance of spawning. The dimension must one in which the meteor can spawn in as specified above, otherwise meteors won't spawn at all. This chance will ALWAYS override the default if present. The spawn chance works as described above.
dimension_chances = { "minecraft:the_end" = 300000 }
# The same as above but with a possibly different chance at night if enabled
dimension_night_chances = { "minecraft:the_end" = 100000 }
# A list of the IDs of the biomes in which meteors can or cannot naturally spawn in (see mode setting below), vanilla or not.
biome_spawn_list = [ "minecraft:cherry_grove", "minecraft:soul_sand_valley", "modname:modbiome" ]
# 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.
biome_list_mode = false
# 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!
biome_chances = { "minecraft:desert" = 29990, "modname:modbiome" = 2025 }
# The same as above but with a possibly different chance at night if enabled
biome_night_chances = { "minecraft:desert" = 9995, "modname:modbiome" = 2025 }
# The smallest size a natural meteor can have when spawned in. Cannot go below 1
natural_meteor_min_size = 1
# The biggest size a natural meteor can have when spawned in. Cannot go above 50.
natural_meteor_max_size = 10
# The maximum size of meteor that can be considered small, and that will spawn a small meteor structure upon impact
max_small_meteor_size = 4
# The maximum size of meteor that can be considered medium, and will spawn a medium meteor structure upon impact
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.
max_big_meteor_size = 20
# The max size limit of how big a huge meteor can be
huge_meteor_size_limit = 40
# Meteor Behaviour
[meteorBehaviourSection]
# 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
explosion_power_modifier = 0
# A factor to MULTIPLY the explosion power (by default, the power is equal to the meteor size), thus increasing the damage and radius of the explosion.
explosion_power_multiplier = 1.0
# Should meteors be able to destroy blocks on impact?
meteor_griefing = true
# Should meteors spawn the meteor structure after impact?
meteor_structure = true
# Should the meteor structure only replace air blocks?
only_replace_air = false
# Should scatter meteors be spawned when a Basic laser destroys a bigger meteor?
spawn_scatter_meteors = false
# Should the meteors that come out of a bigger meteor when it's broken be able to destroy blocks on impact?
scatter_meteor_griefing = true
# Should the meteors that come out of a bigger meteor when it's broken be able to destroy spawn structures on impact?
scatter_meteor_structure = true
# Should the meteors that come out of a bigger meteor when it's broken only replace air blocks for their structure?
scatter_only_replace_air = true
# 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)
explode_on_entity_collision = false
# Should fire be spawned on meteor impact? (it looks cool!)
spawn_fire_with_meteor = true
# 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 a bit laggy.
use_better_explosions = true
# 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 (the meteor may go upwards tho!)
downwards_speed_modifier = 0
# A factor to MULTIPLY the speed at which the meteor falls downwards. It is added to a randomly generated number between 1 and 0
downwards_speed_multiplier = 1.0
# Should meteors be (more or less) directed towards the nearest player?
homing_meteors = false
# If true meteors will try to load chunks like enderpearls, hopefully making contact and exploding
meteors_load_chunks = false
# How many chunks should be loaded before the meteors gets discarded? Aka how many loaded chunks are too many? (Each chunk is 16 blocks
chunk_loading_limit = 25
# Notifications
[notificationSection]
# Should players get a message in chat/hotbar when a meteor spawns?
announce_meteor_spawn = false
# Should players get a message in chat/hotbar when a meteor is destroyed?
announce_meteor_destroyed = false
# Should the (^above^) announcement be displayed above the hotbar in the actionbar or in chat?
actionbar_announcements = true
# If announcements are enabled, should they also display the (approximate) coordinates of the meteor being spawned/destroyed?
announce_location = true
# Should the explosion sound of the meteor be heard by all players online?
global_explosion_sound = false
# Should the explosion sound of the meteor be heard by all players around a certain area from the impact point?
area_explosion_sound = false
# The radius in blocks of the area in which the sound of the meteor will be heard if the option above is true
area_explosion_sound_radius = 500
# Set this to true to have more info while debugging
verbose = false
# Lasers
[lasersSection]
# The radius in blocks of the xz area covered by the Basic laser block, where meteors will be blown up
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)
basic_laser_height = 64
# The radius in blocks of the xz area covered by the advanced laser block, where meteors will be blown up
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)
advanced_laser_height = 64
# Should the laser be in a cooldown where it can't fire, after it has just fired?
should_basic_laser_cooldown = true
# How many seconds should this cooldown last?
basic_laser_cooldown = 5
# Should the laser be in a cooldown where it can't fire, after it has just fired?
should_advanced_laser_cooldown = true
# How many seconds should this cooldown last?
advanced_laser_cooldown = 3
# Visuals
[visualsSection]
# 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
use_forced_particles = true
# Note: this setting influences client AND server performance a lot. It is a serverside setting.
# FANCY: the best particle animations, when spawning a lot of meteors can be laggy,
# LESS: a compromise, a bit less lag with still good looking particles ,
# MINIMAL: a compromise, a lot less laggy with some particles,
# NONE: most performant, no particles will be sent to clients
particles_mode = "FANCY"
# 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
meteor_render_distance = 200
# 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.
meteor_skyglow = true
# Chose how the meteor entity projectile looks.
# DYNAMIC_AUTO: The texture goes from normal to hot the closer it gets to ground level or the longer it travels even horizonatally
# DYNAMIC_HEIGHT: The texture goes from normal to hot the closer it gets to ground level
# DYNAMIC_DISTANCE: The texture goes from normal to hot the more it travels
# NORMAL: Fixed texture on the Normal one
# MID: Fixed texture to the Mid level of hotness texture
# HOT: Fixed texture to the Hot level of hotness texture
meteor_texture_mode = "DYNAMIC_AUTO"
# The distance in blocks between texture changes from mid to hot when the meteor texture mode is set on DYNAMIC_DISTANCE (or auto using distance)
texture_change_distance_hot = 70
# The distance in blocks between texture changes from normal to mid when the meteor texture mode is set on DYNAMIC_DISTANCE (or auto using distance)
texture_change_distance_mid = 70
# 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)
[visualsSection.meteor_skyglow_color]
# Red component, 0 to 255
r = 4
# Green component, 0 to 255
g = 141
# Blue component, 0 to 255
b = 161
# Meteor Showers
[meteorShowerSection]
# 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 sometimes cause brief lag spikes, nothing too dramatic tho)
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)
meteor_shower_chance = 100
# The minimum number of meteors that are going to spawn in the meteor shower.
min_meteors_in_shower = 5
# The maximum number of meteors that are going to spawn in the meteor shower.
max_meteors_in_shower = 15
# The delay (in ticks) between each meteor that gets spawned in delayed and direction delayed meteor shower
meteor_shower_delay_ticks = 15
Commands
They are are a few commands:
/omm spawn <size> [velocity] Will spawn a meteor in your looking direction with the specified size and the optionally specified velocity
/omm spawn random Will spawn a random meteor in a random direction in a random postiont around you
/omm spawn natural Will spawn a meteor as if it had spawned naturally
/omm spawn shower <instant|delayed|delayed_directioned> Will spawn a meteor shower as if it had spawned naturally, with the specified type of shower.
/omm spawn targeted <target> Will spawn a meteor as if it had spawned naturally, but targeted towards a specific player, similarly to the homing options of the config file
/omm spawn shower <instant|delayed|delayed_directioned> [target] Optionally the metor shower can also be spawned to target a specific player, like the command above
/omm config reload Will reload the config file [DEPRECATED FROM 1.5.0]
/omm config preset <preset> Will edit the config file to adjust to the preset. Two presets are currently available, performance and no_griefing
/omm config resetdata Ordinaraly you should not use it, but it will reset some data about the mod, like if someone enetered a dimension, when was the last time that the meteor chance increased etc. This is only relevant if you enable delayed meteor spawns or increase the meteor spawn chance with time in the config section
Adding custom meteor structures/schematics
/omm custom And its sub commands will allow you to generate a datapack and add your meteor structures directly in game without needing to touch any files. You can then open the datapack folder and send the datapack to your friends if you want to!
Adding a new meteor
/omm custom add <type_of_schematic> <structureId/schemId> <size> <special>
type_of_schematic: is the type of schematic/structure file that is going to be used to spawn the meteor's structure. Three types are currently supported thanks to SchemConvert, and they are:
structureblock: the vanilla .nbt structure files that you can create using a structureblock
worldedit_schematic: worldedit's .schem files which you can create with the //schem command
litematica_schematic: litematica's .liteschem files Especially for the schematic files it's important to not move them from where they are generated
structureId/schemId: is the name of the structure/schematic file that you want to use. You don't need to specify the extension (like .schem or .nbt). This name is the same one that will be used by the meteor strucuture id, but you can change it later with the edit command if needed
size: the size correspondig to this new meteor structure, can be SMALL,MEDIUM,BIG,HUGE
special: weather or not this is a special meteor aka if this structure has a lower than normal chance of appearing
Removing default meteors
/omm custom ignoredefaults [true|false] If you set ignoredefaults to true this mod's default meteors will be disabled and only custom ones will be used. Make sure to add at least one meteor structure per category otherwise it will give an error.
Removing meteor structures
/omm custom remove <structureId> <size> <special> If you want to remove a meteor that you have previously added you can use this command. You will need to specifiy the structure's name, the corresponding size and if it is a special meteor
Editing meteor structure
/omm custom edit <originalName> <ogSize> <ogSpecial> <newName> <newSize> <newSpecial> You can use this command to edit a structure file name, class and if it's a special one or not. Pretty intuitive by now i think.
Seeing which meteors you have added so far
/omm custom display_current Will display all the meteors corresponding to a certain size and special. It will also display if you have currently disabled default meteors or not
Mod compatibility
You can use Flan and YetAnotherWorldProtector to define regions where meteors won't spawn or explode. Now you will be able to use either Flan or YAWP to define regions where meteors can't spawn or explode. Flan has its own global setting, while to disable the meteor spawning in YAWP you will need to set the flag explosions-entities to denied.
From version 1.5.0 onwards you can also use OPAC to define a claim in which meteors won't spawn or explode, by enabling the "Allow blocks from explosion" flag.
License
MIT
Credits
SlayerTheChikken for some assets and the idea of the mod Explodee mod (by KnownSH) for the code of the spherical explosions SchemConvert to allow the conversion between schematic formats
评论 0
登录后参与评分
还没有评论,来抢沙发吧