tModLoader

tModLoader

Not enough ratings
No Lava Lava Slimes
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.4
File Size
Posted
Updated
53.253 KB
8 Apr, 2024 @ 5:26pm
10 Apr, 2024 @ 1:27pm
2 Change Notes ( view )

Subscribe to download
No Lava Lava Slimes

Description
No Lava Lava Slimes disables lava spawning from lava slimes.

Inspired by Lavaless Lava Slime by Cyrilly.
Originally posted by tModLoader:
Developed By RblDiver
11 Comments
moss 27 Sep, 2024 @ 2:37am 
i am the same with code on my own hobby projects, so understandable! have a nice day :>
RblDiver  [author] 26 Sep, 2024 @ 3:07pm 
That is indeed a distinct possibility (highly probable imo). I'll admit I don't exactly know C#, mostly just fumbling around until something appears to work well enough. Essentially, I did an override on the HitEffect function, which inside the original has the bit to spawn the bit of lava. My override says, no, turn that tile's liquid amount to 0. So my guess is the game runs the original first, spawning lava, then runs mine, despawning lava.

Unfortunately that means I have no idea how to prevent your issue from happening moss, sorry.
moss 25 Sep, 2024 @ 7:20pm 
hi! i have encountered some errors with this mod- it seems like when a slime dies directly on a furniture / platform or any other lava-breakable object, it still breaks the object even though no lava spawns.
Is it possible that with this implementation the lava is still spawning but is being deleted in the same frame? It seems like the game still recognizes lava there for a moment.
A_Potitonear 25 Jun, 2024 @ 3:20pm 
El mejor mod que he visto, gracias
Altus 15 Apr, 2024 @ 10:31pm 
Thank you for this. I haven't been able to find a working version of this mod since tMod 1.4 released. Kudos!
RblDiver  [author] 10 Apr, 2024 @ 1:28pm 
Update appears to be working so new version published, please let me know if you encounter errors.
RblDiver  [author] 10 Apr, 2024 @ 9:48am 
Note, initial test in a master getfixedboi world seemed to work, but testing in a regular expert world is not working. Apologies, will work on it when I can.
Willow 9 Apr, 2024 @ 12:06pm 
ahh i understand no worries!
RblDiver  [author] 9 Apr, 2024 @ 11:16am 
I suppose you could try it on the server side. I never do multiplayer so don't know how it'd work; took me a while to even figure out where the lava spawning appeared to occur in the first place :P
Willow 9 Apr, 2024 @ 12:52am 
i wonder if its possible to make this a server side mod, there's a search category for server side mods and so far nobody has ever made one for some reason