Back to NxLabs

NxLabs / Vintage Story

Salty´s Item Clumps

SBy SaltyWater

Clumps entity items.

Description

image

image This mod was commissioned by PrinceSora and will be maintained by me! Thank you for the opportunity ❤️ image

Item Clumps

Winrar or 7zip?

 

This mod clumps nearby item entities together.

Entirely event based, no listeners per entity, for great optimization.

image

Flow:
Item is dropped → it falls → it collides → the game fires the collision event → the mod checks for nearby matching item entities and clumps them into one itemstack → no more logic runs for that item unless a fallback is needed.

 

----------------------- o -----------------------

Configs:

ItemClumpsConfig.json is created on the server config when loading a world with the mod at least once.

SearchRadius: How far the mod looks for nearby dropped items to combine.

InitializeRecovery: How long the mod waits before checking dropped items when initialized (loading world, etc..).

CollisionRetry: How long the mod waits before trying again if an item landed but was still moving.  (water, etc..)

 

----------------------- o -----------------------

Commands:

To black list a item, hold it in your main hand and run the command /itemclumps blacklistheld

The blacklist can be found inside the json config.

check out my other mods here:image

 

 

 

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.