Mods / Sluice

Tags: #QoL
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 IdentifierFor 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
  • Added a wooden sluice which uses the same drop table as the wooden pan from the base game.
  • Drop table is now inside the block JSON files instead of config files
  • Modconfig file is now depreciated and will be eventually removed
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
  • Added a wooden sluice which uses the same drop table as the wooden pan from the base game.
  • Drop table is now inside the block JSON files instead of config files
  • Modconfig file is now depreciated and will be eventually removed

 

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


52 Comments (oldest first | newest first)

💬 iupiter, Nov 15th at 9:07 PM

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.

💬 iupiter, Nov 15th at 8:41 PM (modified Nov 15th at 8:49 PM)

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)

💬 Thorin48, Nov 2nd at 4:20 PM

Can you make a config please I would love to config this for my server

💬 Thighz, Oct 27th at 7:17 PM

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 image

💬 Silasxsecrets, Oct 16th at 5:23 PM

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.

💬 Rutraz, Oct 11th at 1:51 PM (modified Oct 11th at 2:00 PM)

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". 

💬 OscillaCam, Oct 11th at 8:28 AM

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! 

💬 Kraesk, Sep 19th at 7:29 PM

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. 

💬 Ensorcelled, Sep 18th at 9:42 PM

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.

Spoiler
18.9.2025 17:33:08 [Warning] Failed resolving a blocks block drop or smeltedstack with code in Block sluice: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... 

 

 

💬 GinGerman, Sep 18th at 9:28 PM

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

💬 Bloodypizza17 , Sep 18th at 8:25 PM

The most recent versions (1.3.2 and 2.3.2) should reduce a lot of log noise.

💬 Bloodypizza17 , Sep 18th at 12:33 AM

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.

💬 Ensorcelled, Sep 17th at 11:31 PM

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

Spoiler
 [Info] 17.9.2025 23:11:19 [Server Warning] Failed resolving a blocks itemdrop or smeltedstack with code game:stone-{rocktype} in SluiceBlockEntity
 [Info] 17.9.2025 23:11:19 [Server Debug] I am not a null item stack
 [Info] 17.9.2025 23:11:19 [Server Debug] I am not a null item stack  // (+18 more lines like this, then repeating the first line, for each block)

 

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. 

💬 Thighz, Sep 15th at 7:48 PM

Raven_Dimage It is 

💬 Raven_D, Sep 15th at 10:47 AM

can you add the possibility to make it hopperable?

💬 OscillaCam, Sep 15th at 5:49 AM

Bloodypizza17 Wow, thats great! Thank you so much for quick update. Defintly makes it a lot more configurable and useable! 

💬 Bloodypizza17 , Sep 15th at 1:11 AM

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 ;)

💬 Bloodypizza17 , Sep 15th at 1:02 AM

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.

💬 OscillaCam, Sep 14th at 7:53 AM

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

💬 Bloodypizza17 , Sep 14th at 2:33 AM

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.

💬 CircuitPwne, Sep 14th at 1:06 AM (modified Sep 14th at 1:06 AM)

CornNut

I just posted a patch that does exactly that. https://news.kalataka.ru/sluicecircuitspatch

💬 CornNut, Sep 8th at 11:47 PM

Can you make another version of the mod with cheaper recipes? Like copper rod instead perhaps? 

💬 Bloodypizza17 , Sep 6th at 3:56 AM

New versions should fix the issue of the green progress arrow not updating.

💬 Yukari_75, Sep 5th at 6:22 PM

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.

💬 Bloodypizza17 , Sep 4th at 11:30 PM

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.

💬 Nepchune, Sep 4th at 10:31 PM

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.

💬 Bloodypizza17 , Sep 2nd at 1:18 AM

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.

💬 JACO1989, Sep 1st at 12:26 PM

@Bloodypizza17 The point is that you can play the same way as with an automatic crusher.

💬 Bloodypizza17 , Sep 1st at 1:35 AM

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? 

💬 Bloodypizza17 , Sep 1st at 1:30 AM

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.

💬 JACO1989, Aug 31st at 9:57 AM

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.

💬 Saerdna, Aug 31st at 8:08 AM

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?

💬 Bloodypizza17 , Aug 31st at 4:04 AM

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.

💬 Bloodypizza17 , Aug 31st at 3:49 AM

RinVindor Well that is not good which version of the game and mod you running?

💬 RinVindor, Aug 31st at 3:34 AM

The mod on the latest version now is causing my world to crash when we right click it.

💬 Bloodypizza17 , Aug 31st at 1:17 AM (modified Aug 31st at 1:45 AM)

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.

💬 Bloodypizza17 , Aug 28th at 10:52 PM

This issue for lore books not having required attributes for discovery should now be resolved in version 2.1.1.

💬 GPedia, Aug 28th at 5:45 AM

hey, the lore books i get from this sluice don't have the necessary attributes to be discoverable

 

💬 Bloodypizza17 , Aug 27th at 2:20 AM

Hydromancerx I have never used or looked much into Still Useful Stuff so if any synergy exisit it is coincidental.

💬 Hydromancerx, Aug 27th at 2:05 AM

Any synergy with the Sluce from the Still Useful Stuff mod?

💬 Bloodypizza17 , Aug 27th at 1:57 AM

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.

💬 Bloodypizza17 , Aug 26th at 8:28 AM

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.

💬 Headshots_GG, Aug 26th at 7:21 AM

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!

 

💬 Bloodypizza17 , Aug 26th at 1:43 AM

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!

💬 Bloodypizza17 , Aug 25th at 8:30 AM

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!

💬 Faeldray, Aug 25th at 8:00 AM

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?

💬 Bloodypizza17 , Aug 25th at 2:33 AM (modified Aug 25th at 2:35 AM)

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.

💬 pixelsort, Aug 25th at 2:26 AM

Whoa. I was just wishing for exactly this mod! Beautiful design and great description. Looking forward to trying it. Thanks!

💬 Bloodypizza17 , Aug 25th at 2:00 AM

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 :)

💬 Ashleyyy33, Aug 25th at 1:14 AM

Now i dont have to spend 20 minnutes panning because i want the lore books. Thank you very much for this.

💬 Bloodypizza17 , Aug 25th at 12:41 AM

AgentOfChaos I am glad I am not the only one who needed this! Enjoy and let me know how it goes!

💬 AgentOfChaos, Aug 25th at 12:21 AM

LETS GOOOOOOO. just what i needed for so long man. thanks

 

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом