Mods / PrecisePickedUp
Author: MystiVaid
Side: Both
Created: Oct 1st 2024 at 1:41 PM
Last modified: Nov 14th at 1:45 PM
Downloads: 1503
Follow Unfollow 27
Recommended download (for Vintage Story 1.21.0 - 1.21.5):
precisepickedup_1.0.8.zip
1-click install
- 允许使用鼠标右键拾取掉落物和投射物,可以设置拾取条件:右手为空,右手或左手为空,无条件。
- 会显示准星处的掉落物和投射物的名称与介绍,可以关闭介绍显示。
- 可以开关掉落物合并功能,允许设置掉落物合并的时间间隔与范围。
- 可以关闭掉落物自动拾取,只能使用右键拾取。
- 可以不允许在掉落物的位置放置方块。
- 默认开启范围拾取功能,以交互的掉落物/投射物为中心,将拾取指定范围内的所有同种掉落物/投射物
配置文件:VintagestoryData/ModConfig/PrecisePickedUp.json
{
// 客户端配置:
"ShowItemDescription": true, // 显示物品介绍
// 服务端配置:
"PickupConditions": 1 // 右键拾取条件 0: 右手为空 1: 右手或左手为空 2: 无条件
"CanAutoCollect": true, // 是否允许自动拾取掉落物
"CanPlaceBlock": true, // 是否允许在掉落物处放置方块
"AutoMerge": true, // 掉落物自动合并
"MergeRange": { // 合并范围
"X": 1.5, // 水平范围
"Y": 0.2 // 垂直范围
},
"MergeInterval": 5.0, // 合并间隔
"RangePickup": true, // 范围拾取
"PickupRange": { // 拾取范围
"X": 1.5, // 水平范围
"Y": 0.2 // 垂直范围
}
}
- Allows using the right mouse button to pick up dropped items and projectiles, with configurable pickup conditions: right hand empty, either hand empty, or no conditions.
- Displays the name and description of the targeted dropped item or projectile. The description display can be toggled off.
- Enables/disables item merging for dropped items, with adjustable merge interval and range.
- Can disable automatic pickup of dropped items, restricting collection to right-click only.
- Option to prevent block placement at the location of dropped items.
- Range pickup is enabled by default, allowing pickup of all same-type dropped items/projectiles within a specified radius around the interacted item/projectile.
Configuration file: VintagestoryData/ModConfig/PrecisePickedUp.json
{
// Client Side Config:
"ShowItemDescription": true, // Show item descriptions
// Server Side Config:
"PickupConditions": 1, // Right-click pickup conditions: 0: Right hand empty, 1: Either hand empty, 2: No conditions
"CanAutoCollect": true, // Enable automatic pickup of dropped items
"CanPlaceBlock": true, // Allow block placement at dropped item locations
"AutoMerge": true, // Enable automatic merging of dropped items
"MergeRange": { // Merge range
"X": 1.5, // Horizontal range
"Y": 0.2 // Vertical range
},
"MergeInterval": 5.0, // Merge interval (seconds)
"RangePickup": true, // Enable range pickup
"PickupRange": { // Pickup range
"X": 1.5, // Horizontal range
"Y": 0.2 // Vertical range
}
}
| Mod Version | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|
| 1.0.8 | 22 | Nov 14th at 1:45 PM | precisepickedup_1.0.8.zip | 1-click install | ||
|
让大部分配置以服务端为主
Make most configurations server-side based. | ||||||
| 1.0.7 | 127 | Sep 10th at 11:41 AM | precisepickedup_1.0.7.zip | 1-click install | ||
|
1.优化投掷物拾取逻辑,现在无法拾取不可收集的投掷物(比如敌方发射的箭矢) 2.最低游戏版本提升为1.21.0
1. Optimized the logic for picking up projectiles; it is now impossible to pick up non-collectible projectiles (such as arrows fired by enemies). | ||||||
| 1.0.6 | 73 | Jun 18th at 3:27 PM | precisepickedup_1.0.6.zip | 1-click install | ||
|
适配1.21.0-pre.1,优化范围拾取判断逻辑 Adapted for version 1.21.0-pre.1, optimized the range pickup judgment logic. | ||||||
| 1.0.5 | 281 | Jun 4th at 7:12 PM | precisepickedup_1.0.5.zip | 1-click install | ||
|
修复掉落物合并的bug,优化堆叠掉落物的渲染效果 Fixed the bug related to item merging and optimized the rendering effect of stacked dropped items. | ||||||
| 1.0.4 | 144 | Apr 16th at 3:59 PM | precisepickedup_1.0.4.zip | 1-click install | ||
|
添加范围拾取功能
Add range selection functionality | ||||||
| 1.0.3 | 38 | Apr 13th at 6:58 PM | precisepickedup_1.0.3.zip | 1-click install | ||
|
v1.0.3 1.添加Combat Overhaul的投射物兼容 2.优化实体名称和信息文本显示
1.Added Combat Overhaul projectile compatibility 2.Optimized entity names and information text display. | ||||||
| 1.0.2 | 420 | Oct 11th 2024 at 1:14 PM | precisepickedup_1.0.2.zip | 1-click install | ||
1.优化代码,修复兼容性bug
1. Optimize the code and fix compatibility bugs 2. Add projectile pickup 3. The updated version number is '1.0.2' | ||||||
| 1.0.1 | 183 | Oct 9th 2024 at 12:55 AM | precisepickedup_1.0.1.zip | 1-click install | ||
|
1.优化代码,支持1.20
2.新增`CanPlaceBlock`选项
3.更新版本为`1.0.1`
1. Optimize the code and support 1.20
2. Added `CanPlaceBlock` option 3.The updated version is `1.0.1` | ||||||
| 1.0.0 | 215 | Oct 1st 2024 at 1:44 PM | precisepickedup_1.0.0.zip | 1-click install | ||
|
首个版本 | ||||||
@Lord_Hagen Try 1.0.8
Not working on dedicated server
Great mod, it was just what I was looking for. I love being able to select what goes into my inventory, but my favorite touch is that ammo/spears are exempt from this rule! No more struggling with spears mid-fight when I just wanna click to pick things up ^w^
Kaschperle I cannot reproduce the crash issue with version 1.0.7 and the latest combat overhaul mod.
I used the latest version mh lemme test it again I think I used the 1.0.7 but I removed it yesterday as a bandaid fix maybe it 1.0.6 unlikely tho.
Kaschperle
Are you using version 1.20 or 1.21? If it's 1.20, this is a known issue that has been fixed in version 1.21.
heyho could you update it to be compatible with the combat overhaul mod right clicking spears crashes the game!
Thanks I'll be updating soon
I'm sorry, it appears that some changes have occurred in `Overhaullib`, but version 1.20.x has been discontinued and is no longer maintained.
vintage story version 1.20.12
precisepickup 1.0.5
Sorry it took me a while to remember where to get the report. Thanks for the quick help!
23.8.2025 11:20:28 [Warning] Exception at client 5. Disconnecting client.
23.8.2025 11:20:28 [Notification] Client 5 disconnected: An action you (or your client) did caused an unhandled exception
23.8.2025 11:20:28 [Notification] UDP: client disconnected Newman
23.8.2025 11:20:28 [Event] Player Newman got removed. Reason: Threw an exception at the server
23.8.2025 11:20:28 [Error] Exception: Could not load file or assembly 'Overhaullib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
at PrecisePickedUp.OverhaulCompat.GetProjectileItem(Entity entity)
at PrecisePickedUp.EntityProjectileBehavior.<>c__DisplayClass3_0.b__0(Entity e) in /home/scgm/RiderProjects/PrecisePickedUp/PrecisePickedUp/EntityProjectileBehavior.cs:line 40
at Vintagestory.Common.GameMain.GetEntitiesAround(Vec3d position, Single horRange, Single vertRange, ActionConsumable`1 matches) in VintagestoryLib\Common\GameMain.cs:line 229
at PrecisePickedUp.EntityProjectileBehavior.OnInteract(EntityAgent byEntity, ItemSlot itemslot, Vec3d hitPosition, EnumInteractMode mode, EnumHandling& handled) in /home/scgm/RiderProjects/PrecisePickedUp/PrecisePickedUp/EntityProjectileBehavior.cs:line 36
at Vintagestory.API.Common.Entities.Entity.OnInteract(EntityAgent byEntity, ItemSlot itemslot, Vec3d hitPosition, EnumInteractMode mode) in VintagestoryApi\Common\Entity\Entity.cs:line 1471
at Vintagestory.Server.ServerSystemEntitySimulation.HandleEntityInteraction(Packet_Client packet, ConnectedClient client)
at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 238
at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 977
Newman
Please provide more information. After testing, the latest version still operates normally at 1.21.0.rc.7, and the crash cannot be reproduced.
Client crash to menu when picking up spears or arrows.
23.8.2025 12:35:28 [Notification] Disconnected by the server (An action you (or your client) did caused an unhandled exception)
It isnt giving me a crash log. I looked for one to give you, but my last client-crash log is from a few days ago.
Kaschperle At present, there is no way to adjust it.
I have a question regarding dropped items having colission they interfere for example when breaking rocks / dirt when the block is infront of the block crosshair is there anything I can tweak which I have missed?
WickedSchnitzel try 1.0.5
Crashes the game when being used with merging items on, near tools like chutes and pulverizers, since these are trying to grab the items as well.
It also prevents one from digging further, since the items are blocking interactions with the ground below (like with the shovel). Make it so that one has to press two buttons e.g. shift & rmb to activate the collision shape of the item first and then pick it up. Else the collision of dropped items should be deactivated.
如果之前使用过这个mod,最好手动删除配置文件,让它重新生成
If you've used this mod before, it's best to manually delete the configuration file to let it regenerate.
LarekFlynn Thanks for testing
loads good now!
LarekFlynn Try 1.0.2?
LarekFlynn Thanks for testing, I'll see how to fix it later
Sticks on loading a save. Looks like it is actually a conflict with ImmersiveOreCrush Mod. Server-main.txt gets filled with:
10.10.2024 19:03:38 [Notification] Placing player at 512142.64464570314 109 510553.77840595704
10.10.2024 19:03:40 [Error] Exception: Object reference not set to an instance of an object.
at PrecisePickedUp.GameMainRayTraceForSelectionPatch.PreFix(EntityFilter& efilter) in /home/scgm/RiderProjects/PrecisePickedUp/PrecisePickedUp/GameMainRayTraceForSelectionPatch.cs:line 13
at Vintagestory.Common.GameMain.RayTraceForSelection_Patch2(GameMain this, IWorldIntersectionSupplier supplier, Ray ray, BlockSelection& blockSelection, EntitySelection& entitySelection, BlockFilter bfilter, EntityFilter efilter)
at Vintagestory.Common.GameMain.RayTraceForSelection(Vec3d fromPos, Vec3d toPos, BlockSelection& blockSelection, EntitySelection& entitySelection, BlockFilter bfilter, EntityFilter efilter) in VintagestoryLib\Common\GameMain.cs:line 117
at ImmersiveOreCrush.ImmersiveOreCrush.OnServerTick(Single dt)
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 27
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 57
at Vintagestory.Server.CoreServerEventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Server\ServerEventManager.cs:line 123
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 886
10.10.2024 19:03:40 [Error] Exception: Object reference not set to an instance of an object.
at PrecisePickedUp.GameMainRayTraceForSelectionPatch.PreFix(EntityFilter& efilter) in /home/scgm/RiderProjects/PrecisePickedUp/PrecisePickedUp/GameMainRayTraceForSelectionPatch.cs:line 13
at Vintagestory.Common.GameMain.RayTraceForSelection_Patch2(GameMain this, IWorldIntersectionSupplier supplier, Ray ray, BlockSelection& blockSelection, EntitySelection& entitySelection, BlockFilter bfilter, EntityFilter efilter)
at Vintagestory.Common.GameMain.RayTraceForSelection(Vec3d fromPos, Vec3d toPos, BlockSelection& blockSelection, EntitySelection& entitySelection, BlockFilter bfilter, EntityFilter efilter) in VintagestoryLib\Common\GameMain.cs:line 117
at ImmersiveOreCrush.ImmersiveOreCrush.OnServerTick(Single dt)
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 27
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 57
at Vintagestory.Server.CoreServerEventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Server\ServerEventManager.cs:line 123
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 886
LarekFlynn It works fine for me, can you provide more information?
v1.0.1 Does not work in 1.19.8