SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Salty´s Item Clumps

SBy SaltyWater

Clumps entity items.

Description

<p><a href="https://ko-fi.com/saltywateroriginal"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://iili.io/f6Zs6lt.gif" alt="image" width="220" height="220" /></a></p> <p style="text-align: center;"><img src="https://iili.io/fgNAxjf.png" alt="image" width="20" height="20" /> This mod was commissioned by <a class="mention username mceNonEditable" href="https://mods.vintagestory.at/show/user/3B506838B1DC8DD801D5" data-user-hash="3B506838B1DC8DD801D5">PrinceSora</a> and will be maintained by me! Thank you for the opportunity ❤️ <img src="https://iili.io/fgNAxjf.png" alt="image" width="20" height="20" /></p> <h2 style="text-align: center;">Item Clumps</h2> <p style="text-align: center;">Winrar or 7zip?</p> <p style="text-align: center;" data-start="0" data-end="18">&nbsp;</p> <p style="text-align: center;" data-start="20" data-end="66">This mod clumps nearby item entities together.</p> <p style="text-align: center;" data-start="68" data-end="130">Entirely event based, no listeners per entity, for great optimization.</p> <p style="text-align: center;" data-start="68" data-end="130"><img src="https://iili.io/qRshM4n.gif" alt="image" /></p> <p style="text-align: center;" data-start="132" data-end="346">Flow:<br />Item is dropped &rarr; it falls &rarr; it collides &rarr; the game fires the collision event &rarr; the mod checks for nearby matching item entities and clumps them into one itemstack &rarr; no more logic runs for that item unless a fallback is needed.</p> <p style="text-align: center;" data-start="132" data-end="346">&nbsp;</p> <p style="text-align: center;" data-start="132" data-end="346">----------------------- o -----------------------</p> <h2 style="text-align: center;">Configs:</h2> <p style="text-align: center;">ItemClumpsConfig.json <strong>is created on the server config</strong> when loading a world with the mod at least once.</p> <p style="text-align: center;"><strong>SearchRadius:</strong> How far the mod looks for nearby dropped items to combine.</p> <p style="text-align: center;"><strong>InitializeRecovery:</strong> How long the mod waits before checking dropped items when initialized (loading world, etc..).</p> <p style="text-align: center;"><strong>CollisionRetry:</strong> How long the mod waits before trying again if an item landed but was still moving.&nbsp; (water, etc..)</p> <p style="text-align: center;">&nbsp;</p> <p style="text-align: center;">----------------------- o -----------------------</p> <h2 style="text-align: center;">Commands:</h2> <p style="text-align: center;">To black list a item, hold it in your main hand and run the command /itemclumps blacklistheld</p> <p style="text-align: center;">The blacklist can be found inside the json config.</p> <h2 style="text-align: center;"><strong>check out my other mods here:<a href="https://mods.vintagestory.at/show/user/F9A030F51969CF667AD2"><img src="https://iili.io/KbCIbnI.png" alt="image" /></a></strong></h2> <p style="text-align: center;">&nbsp;</p> <p style="text-align: center;">&nbsp;</p> <p style="text-align: center;">&nbsp;</p>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.