promotional bannermobile promotional banner
premium banner
This mod changes the color of the slimes when they are spawning.

Description

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 added to disable the random colors on spawning.


**Summon Slime via command for the mod loaders**

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**

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.x | 1.20.1

Fabric      26.1.x | 1.21.x | 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

https://legacy.curseforge.com/members/aquarius_playz/projects

 

Follow me on X (twitter)

https://x.com/Aquarius_playz

 

THIS MOD REQUIRES AQUARIUSLIBS TO BE INSTALLED