Mods / Sluice
Author: Bloodypizza17
Side: Both
Created: Aug 25th at 12:03 AM
Last modified: Sep 18th at 8:23 PM
Downloads: 6128
Follow Unfollow 200
Latest release (for Vintage Story 1.21.0 and 1.21.1, potentially outdated):
sluice_2.3.2.zip
1-click install
This is my first mod and it is a simple sluice. You craft it, put it in water, place (boney soil, muddy gravel, sand, or gravel) into it's input slot, wait a few seconds and then you should see a item in the output slot. Each block processed makes 8 differnet drop rolls with each roll having a chance to drop something or nothing. The droptable should be configurable in the block's JSON file. The wood sluice uses the same drop table as the woodne pan. The iron sluice uses the droptable from the allclasses mods metal pans. If you have any issues or ideas for improvment please post them in the form or open a github issue. As mentioned this is my first mod so it will be a over time work in progress.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 2.3.2 | sluice | 2245 | Sep 18th at 8:23 PM | sluice_2.3.2.zip | 1-click install | ||
|
FIxed some log spaming | |||||||
| 2.3.1 | sluice | 546 | Sep 15th at 1:09 AM | sluice_2.3.1.zip | 1-click install | ||
| |||||||
| 2.2.0 | sluice | 927 | Sep 6th at 3:55 AM | sluice_2.2.0.zip | 1-click install | ||
|
Fixed green progress arrow not updating | |||||||
| 2.1.3 | sluice | 549 | Aug 31st at 4:01 AM | sluice_2.1.3.zip | 1-click install | ||
|
Fixed a crashing issue caused by a stale build. | |||||||
| 2.1.2 | sluice | 70 | Aug 31st at 1:15 AM | sluice_2.1.2.zip | 1-click install | ||
|
Recued mod size by 90% by crunching modicon lol | |||||||
| 2.1.1 | sluice | 377 | Aug 28th at 10:51 PM | sluice.zip | 1-click install | ||
|
Fixed lore books not having required attributes to be read. | |||||||
| 2.1.0 | sluice | 263 | Aug 27th at 1:55 AM | sluice.zip | 1-click install | ||
|
The sluice now has NSEW orientations based on how you place it in the world. Before it would always have the same orientation no mater how you palced it. | |||||||
| 2.0.0 | sluice | 174 | Aug 26th at 8:24 AM | sluice.zip | 1-click install | ||
|
The most recent version of Vintage Story uses .net8. So I had to make a new version of the mod to support 1.21. The pervious did not support game version 1.21 and I will update the files to indicate that. If you are on Vintage Story 1.21 you should use this mod version. If you are on Vintage Story 1.20 you should use the pervious version of the mod. | |||||||
| 1.3.2 | sluice | 83 | Sep 18th at 8:22 PM | sluice_1.3.2.zip | 1-click install | ||
|
Fixed some log spaming. | |||||||
| 1.3.0 | sluice | 80 | Sep 15th at 12:58 AM | sluice_1.3.0.zip | 1-click install | ||
| |||||||
| 1.2.0 | sluice | 111 | Sep 6th at 3:55 AM | sluice_1.2.0.zip | 1-click install | ||
|
Fixed green progress arrow not updating | |||||||
| 1.1.2 | sluice | 69 | Aug 31st at 1:14 AM | sluice_1.1.2.zip | 1-click install | ||
|
Brings the 1.20 branch of this mod up to date with the 1.21 version. | |||||||
| 1.0.0 | sluice | 633 | Aug 25th at 12:07 AM | sluice.zip | 1-click install | ||
|
First Release | |||||||
Overall, it's a little bit finicky and rather strong for how early you can build the wooden one, but it's also the only mod that allows proper automation of the muddy-gravel-to-seeds-and-shells pipeline of the 'Wild Farming - Revival' mod, with all other panning mods either not working at all or having issues at the moment. I very much appreciate this.
Thighz, I suspect that's more of a problem with the BetterRuins mod. I've also gotten like six maps overnight (ingame) while using the mod "Auto Panning". (I suppose this might become more noticable when you can leave and do something else, only to return and see a stack of maps waiting for you)
Can you make a config please I would love to config this for my server
I've noticed a funny quirk with spawn rates on the wooden sluices and BetterRuins with the map it added from panning. May want to tone down the spawn rate for it lol
Found by filling all the output slots with a random item (bamboo in my case) it pushes the items out the end. Set up a hopper at the end and box it in. Now the gravel input doesn't overflow into the output, and with it being boxed in all the items go into the hopper that would go into output slots essentially automating it and all drops.
Nice start so far! But to OP,
imho. Needs a config file to nerv it into the ground.
while its rly not supplying much iron or even tin everything else goes balistic, get more man made items out of it than quartz.
Its okay that the dropp some "relics" but jesus its not normal what a stack of greavel pumps out...
Would be also cool if it needs a water stream to work, but not rly must have i just design it that way so it looks "funktionial".
Thanks for adding Wooden Sluice. The mod is still unuseable. The sluice is incredibly overpowered and I need to adjust the speed. However when adjusting
"sluiceSpeed": 1,
"sluiceTimePerBlock": 15
Nothing happens to the speed, and instead it breaks the automation. Meaning after sifting through the first block, the sluice stops functioning until gravel/sand is reloaded and it then it only works for another single block before breaking. I really want to use it in my Skyblock modpack, but I will have to go with Still Usefull Stuff Sluice if I can't adjsut the speed!
GinGerman I played around with making it work with hoppers and came to some conclusions - firstly, that it's going to waste some drops and therefore probably isn't worth it. You can do Chest > Straight Chute > Sluice just fine, for inputs, but it won't work for an output except in the case that the internal storage of the sluice is full, so it pops the items out of the end of it. If you place a hopper downstream on the same level as the blocks the sluice rests on, it will catch ~most~ of the overflow, but no matter what I did, it would not catch it all. Some items just stayed in the water.
much much better.
Just reporting from Vanilla 1.21.1 with v. 2.3.2 of the mod, in server-main.log
The warning at 17:33:08 was when I opened the wooden and metal sluice with no block, not sure which one sent that line.
then the ones at 17:34:15 were when adding ONE gravel to wooden sluice.
and the ones at 17:35:16 were when added ONE gravel to metal sluice.
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:34:15 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:35:16 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
18.9.2025 17:35:16 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
I do thank you for your efforts, it is much better than 20+ lines per...
Thighz How did you make it hopperable? No matter what configuration I try, Hoppers do not take out any items from it. Strangely enough, they do not pull from chests anymore either, so it might be a different issue...
The most recent versions (1.3.2 and 2.3.2) should reduce a lot of log noise.
Ensorcelled
Thanks for reporting this! I’ll have an update out either tonight or tomorrow that should clear up most of the log spam.
The sulice.json file is only there for backwards compatibility, it was used in the very first versions before features like horizontal placement were added. Unless you placed down the sluice during the first few releases of the mod, it isn’t used anymore.
The "I am not a null item stack" line is just a leftover debug message and can be ignored. That’ll be removed in the next update.
The other warning message and the weird physics issue will take a bit more digging. I’m not sure what’s causing those yet, but I’ll be looking into it.
Spelling error in 2.3.1 version of mod, "sulice.json" ??? V1.21.1 of VS
Also getting some error spam when it processes granite gravel
Not certain if related to spelling or some other issue. (We DID change it to "sluice.json" on both server and client, same issue though.)
Tried it with sandstone gravel and sandstone sand, same issue.
It is producing things as it should but the sheer 21 lines of code per block is a bit much. PLUS the sluice is throwing things around the room when it hits "overflow", like all over the room, flying with force everywhere.
So we also decided to try it as a mod by itself in solo game and check logs there, 2,300k spam in debug log.
Raven_D
It is
can you add the possibility to make it hopperable?
Bloodypizza17 Wow, thats great! Thank you so much for quick update. Defintly makes it a lot more configurable and useable!
Just for clarity if anyone happened to download version 2.3.0 I removed it 5 minutes after release due to a small build issue that caused crashing. Version 2.3.1 is the same just without the crashing ;)
OscillaCam In the newest version, I have now added a wooden sluice which uses the same droptable as the pan from the base gmae. I have also moved away from using the modconfig file and instead exposed everything in the blocks JSON files so patches can be made for drop table customization.
Hey, I am trying to modify modconfig.json but it just overwrites it everytime you launch the game with defaults. So doesn't look like you can adjust the loot tables. Also I would prefer the vanilla panning system intergration, hence I tried configuring it using the modconfig.json
CornNut I have plans to make a lower tier version soon, I have been busy with some personal life things. For now, the patch by CircuitPwne should give you what you need. When I release my lower tier version, I want it to use the game's base drop table. The current tier pan will keep it's current drop table. I also want to make the droptable as part of the json file and not the config files, that way it is more standard and customizable by others.
CornNut
I just posted a patch that does exactly that. https://news.kalataka.ru/sluicecircuitspatch
Can you make another version of the mod with cheaper recipes? Like copper rod instead perhaps?
New versions should fix the issue of the green progress arrow not updating.
Nice, I never bothered with panning before because of how tedious it was, and the only other mod with a sluice I know of adds a bunch of other stuff I'm not interested in.
Nepchune Happy to hear you’re liking the mod! Yeah, the arrow not filling up is an issue I’ve been digging into. I totally get why it is confusing.
Love this mod, panning bony dirt was a pain before. Just was confused at first since the progress arrow didnt fill up at all, there was just an outline of the progress arrow. Does not affect usage whatsoever but had me a little confused at first.
JACO1989 The crusher/pulverizer runs on mechanical power, and you can hook up a hopper and chest if you want to store the output automatically. The sluice works a bit differently since it just needs water and doesn’t require mechanical power. As for hopper/chest support on the sluice, that’s something I’d like to add down the line, but it’s lower on the priority list since I’d have to do some tricky stuff to keep items from just floating on top of the water above the hopper.
@Bloodypizza17 The point is that you can play the same way as with an automatic crusher.
JACO1989 I am honestly a little lost. What do you mean by socket and funnel? You mentioned things flying off, where you trying to catch them in container or did the sluice just overfill and things poped out?
Saerdna Not sure if it will be clay or not but yes I do have plans for lower tiers of sluice that have a differnt drop table. The sulice currently in the mod will repersent the highest tier.
It's nice that it was connected directly to the socket, I know that it's possible to connect the current differently, it's leaking through the leaky funnel, everything is fine but it's too op, what for example, I lost a resonator/phonograph, a copper, bronze and iron plate (it probably flew off), bronze spear and arrow heads, an ancient handle, bronze chains and lamellae, a pipe segment, a lot of gold and diamond necklaces, I'll turn a blind eye to iron nuggets.
I really like the idea of this mod and just downloaded it for the server im playing on with some friends.
From how a sluice works i thought it might be a low tier item and was shocked to see its made out of iron, is there a way we might get a lower tier alternative maybe made from clay in the future?
RinVindor Sorry about that I just pushed a new version that should fix the issue. I am still getting used to the build system (supporting 2 game versions is intresting) so some learning pains. For anyone else with crashing on 2.1.2 please update to 2.1.3 and thank you for your understanding.
RinVindor Well that is not good which version of the game and mod you running?
The mod on the latest version now is causing my world to crash when we right click it.
This mod should now work the same on 1.21 version of the game as the 1.20 version. If you are using 1.21 use the most recent 2.x.x version of the mod. If you are on 1.20 use the most recent 1.x.x version.
This issue for lore books not having required attributes for discovery should now be resolved in version 2.1.1.
hey, the lore books i get from this sluice don't have the necessary attributes to be discoverable
Hydromancerx I have never used or looked much into Still Useful Stuff so if any synergy exisit it is coincidental.
Any synergy with the Sluce from the Still Useful Stuff mod?
The sluice now has NSEW orientations based on how you place it in the world. Before it would always have the same orientation no mater how you palced it. This is currently only for game clients 1.21+. After I add a couple more features I will release a version for 1.20 as well.
It seems my testing failed to show a incompatabilty with game version 1.20 and 1.21. I have release a new version of the mod for game version 1.21.
Bloodypizza17 the game crashes everytime i try to open the item i sent a issue in with the log files on github for you hopefully it helps!
I have done a quick test and looks like this mod is working for 1.21 which of course released a day after I uploaded the mod lol. If you run into any issues please let me know!
Faeldray
Thank you for the suggestions! I definitely plan to add multiple tiers of sluices; I just need to learn how block variants work first. Regarding the base game loot table, I’ll need to dig into that. Right now, my mod doesn’t use the game’s panning system. I wrote my own logic instead, so I’ll have to see how the games panning system works and if I can make it plug and play nicly, or if I can pull the games loot table. Either way I will look into it, and if I can get it working, I think it would be a great addition for the mod!
This is awesome! Would it be possible to have a config option that just uses the vanilla panning loot table, similar to how Still Useful Stuff does it? I just don't want to have to enter all of those values manually, lol. Also, what about a wooden version that's not as good, maybe it does 4 or 6 rolls instead of 8?
pixelsort Thank you so much for the kind words. I can not take credit for the design, my SO did the modeling for me while I handled the code, however, I passed along the compliment and it made them smile.
Whoa. I was just wishing for exactly this mod! Beautiful design and great description. Looking forward to trying it. Thanks!
Ashleyyy33 I am glad that this is going to be of use to you! It makes me glad to know that it is saving time for people :)
Now i dont have to spend 20 minnutes panning because i want the lore books. Thank you very much for this.
AgentOfChaos I am glad I am not the only one who needed this! Enjoy and let me know how it goes!
LETS GOOOOOOO. just what i needed for so long man. thanks