此模组会改变史莱姆生成时的颜色,让世界更加丰富多彩,也让史莱姆看起来更独特!
生成的颜色会从 Minecraft 拥有的 16 种染料颜色中随机选取(基于其 ID 0-15)。
如果大史莱姆被击杀,小史莱姆将继承其颜色。当它们跳跃时,粒子效果也会使用史莱姆的颜色!
配置选项:禁用生成时的随机颜色。
通过命令召唤史莱姆(适用于各加载器)
剧透
你需要一个从 0 到 15 的颜色 ID,例如 15 代表黑色。
neoforge 26.1.1:
/summon minecraft:slime ~ ~ ~ {"neoforge:attachments":{"coloredslimes:color":{color:15}}}
fabric 26.1.1
/summon minecraft:slime ~ ~ ~ {"fabric:attachments":{"coloredslimes:color":15}}
forge 26.1.1
/summon minecraft:slime ~ ~ ~ {Color:15}
Spawnrule changer 配置选项:
剧透
replace_spawnrule=false
默认为 false,因此其他用户默认不会获得该生成特性。
然后是 spawn_on_surface_only=false(仅限 Forge/NeoForge)
默认情况下,它们并非仅在地表生成,但现在你可以强制它们仅在地表生成。
接着是两个用于生成条件的数字,使它们仅在天光等级介于这两个数字之间时生成。
默认情况下,这两个数字为 0 到 15,因此它们全天都会生成。
(sky_brightness_level_min=0, sky_brightness_level_max=15)
另一个选项是 weight=0
0 表示它不会生成;你在此处填写的数字越大,此怪物替代其他怪物生成的几率就越高,即生成几率越大。
有了这个选项,甚至不需要 replace_spawnrule,但我仍然添加了这两项,以便你可以将 weight 设置为你想要的数值,并在不需要新生成规则时使用 replace_spawnrule 将其禁用。
之后,它们会使用修改后的史莱姆生成规则,这又给了我们更多选项,例如:
can_spawn_in_any_biome=false
默认为 false,
如果为 false,它将使用生物群系标签 allows_surface_slime_spawns,这是一个你可以编辑的原版 Minecraft JSON 文件。
正如你所知,史莱姆可以在高度 50 --> 70 的范围内生成。
因此我们现在有 spawn_height_min=50 和 spawn_height_max=255。
史莱姆区块机制保持不变。
如果你之前有配置文件或粘贴了其他人的配置数据,你必须删除旧的配置文件才能使用新的。
我在测试期间在 coloredslimesconfig.properties 配置文件中使用了以下设置以使功能生效:
random_color_when_spawning=true #boolean | default: true
weight=100 #int | default: 0
replace_spawnrule=true #boolean | default: false
spawn_on_surface_only=false #boolean | default: false
sky_brightness_level_min=0 #int | default: 0
sky_brightness_level_max=15 #int | default: 15
can_spawn_in_any_biome=true #boolean | default: false
spawn_height_min=50 #int | default: 50
spawn_height_max=255 #int | default: 255
check_area_size_for_mobs_of_same_type_when_spawning=0 #int | default: 0
max_mob_number_of_same_type_around_area_when_spawning=3 #int | default: 3
如果史莱姆过多,你可能需要降低 weight 值,因为怪物以较快速率生成。
模组目前支持
Forge 26.1.x | 1.21.11 | 1.21.10 | 1.21.9 | 1.21.8 | 1.21.7 | 1.21.6 | 1.21.4 | 1.21.1 | 1.20.1
Fabric 26.1.x | 1.21.11 | 1.21.10 | 1.21.9 | 1.21.8 | 1.21.7 | 1.21.6 | 1.21.1 | 1.20.1
Neoforge 26.1.x | 1.21.11 | 1.21.1

如果你需要不同版本的模组或在 CurseForge 上遇到任何错误,请给我发送私信。
在 X (Twitter) 上关注我

安装此模组需要已安装 AQUARIUSLIBS
This mod changes the color of the slimes when they are spawning to make the world more colorful
and to make the slimes a bit more unique!
The color it gets is chosen randomly from the 16 dye color minecraft has
(based on their id from 0-15)
If a big slime gets killed, the smaller ones will inherit its color.
And when they jump around the particles will use the color of the slime too!
Config option to disable the random colors on spawning
summon slime via command for the mod loaders
Spoiler
you need a color id from 0 to 15, for example 15 is black
neoforge 26.1.1:
/summon minecraft:slime ~ ~ ~ {"neoforge:attachments":{"coloredslimes:color":{color:15}}}
fabric 26.1.1
/summon minecraft:slime ~ ~ ~ {"fabric:attachments":{"coloredslimes:color":15}}
forge 26.1.1
/summon minecraft:slime ~ ~ ~ {Color:15}
Spawnrule changer config options:
Spoiler
replace_spawnrule=false
which is false by default so other users wont get the spawn feature by default.
Then spawn_on_surface_only=false (forge/neoforge only)
by default they dont spawn only at the surface but you can now force it.
After that 2 other number for the spawn condition which will make them spawn only when the sky light level is between the 2 number.
By default the number will be from 0 to 15 so they spawn all day.
(sky_brightness_level_min=0, sky_brightness_level_max=15)
Another option is weight=0
0 means it wont spawn, the more number you write here the more chance this monster will spawn instead of others, so more chance to spawn.
With this the replace_spawnrule is not even needed but i still added this two so you can leave the weight at the number you want and just disable the new spawn rule with replace_spawnrule when you dont want them anymore
After these they use the modified slime spawn rule
which gives us again more options like:
can_spawn_in_any_biome=false
which is false by default,
if its false it will use the biome tag allows_surface_slime_spawns
which is a vanilla minecraft json file which you can edit
And as you know slimes can spawn from the height of 50 --> 70
So we have now spawn_height_min=50 and spawn_height_max=255
The slime chunk thing is untouched.
You will have to delete your old config to use the new one if you had one or paste someone else configs data
I used these settings in my coloredslimesconfig.properties config file while testing to make it work:
random_color_when_spawning=true #boolean | default: true
weight=100 #int | default: 0
replace_spawnrule=true #boolean | default: false
spawn_on_surface_only=false #boolean | default: false
sky_brightness_level_min=0 #int | default: 0
sky_brightness_level_max=15 #int | default: 15
can_spawn_in_any_biome=true #boolean | default: false
spawn_height_min=50 #int | default: 50
spawn_height_max=255 #int | default: 255
check_area_size_for_mobs_of_same_type_when_spawning=0 #int | default: 0
max_mob_number_of_same_type_around_area_when_spawning=3 #int | default: 3
You might want to reduce the weight if there are too many out there as Monsters spawn at a fast rate.
Mod currently supports
Forge 26.1.x | 1.21.11 | 1.21.10 | 1.21.9 | 1.21.8 | 1.21.7 | 1.21.6 | 1.21.4 | 1.21.1 | 1.20.1
Fabric 26.1.x | 1.21.11 | 1.21.10 | 1.21.9 | 1.21.8 | 1.21.7 | 1.21.6 | 1.21.1 | 1.20.1
Neoforge 26.1.x | 1.21.11 | 1.21.1

SEND ME A PRIVATE MESSAGE IF YOU NEED THE MOD IN A DIFFERENT VERSION OR IF YOU ENCOUNTER ANY BUGS AT CURSEFORGE
Follow me on X (twitter)

THIS MOD REQUIRES AQUARIUSLIBS TO BE INSTALLED
评论 0
登录后参与评分
还没有评论,来抢沙发吧