Mods / PrecisePickedUp

Category: #Technology
Author: MystiVaid
Side: Both
Created: Oct 1st at 1:41 PM
Last modified: 3 days ago
Downloads: 113
Follow Unfollow 5

Latest file for v1.20.0-pre:
precisepickedup_1.0.2.zip 1-click install


 

精确拾取

1.允许使用鼠标右键拾取掉落物和投掷物,可以设置拾取条件:右手为空,右手或左手为空,无条件。

2.会显示准星处的掉落物和投掷物的名称与介绍,可以关闭介绍显示。

3.可以开关掉落物合并功能,允许设置掉落物合并的时间间隔与范围。

4.可以关闭掉落物自动拾取,只能使用右键拾取。

5.可以不允许在掉落物的位置放置方块。

配置文件:VintagestoryData/ModConfig/PrecisePickedUp.json

{
  "PickupConditions": 0 // 右键拾取条件 0: 右手为空  1: 右手或左手为空  2: 无条件
  "CanAutoCollect": true, // 是否允许自动拾取掉落物
  "CanPlaceBlock": true, // 是否允许在掉落物处放置方块
  "ShowItemDescription": true, // 显示物品介绍
  "AutoMerge": true, // 掉落物自动合并
  "MergeRange": { // 合并范围
    "X": 1.0, // 水平范围
    "Y": 0.2 // 垂直范围
  },
  "MergeInterval": 3.0 // 合并间隔
}

推荐配合更好的实体交互,方便拾取植物方块中的掉落物:https://mods.vintagestory.at/betterentityinteraction

 

PrecisePickedUp

1. Allow using the right mouse button to pick up drops and projectile, you can set the pickup conditions: the right hand is empty, the right hand or left hand is empty, unconditional.

2. The names and descriptions of the drops and projectile at the crosshairs will be displayed, and the introduction display can be turned off.

3. You can toggle the drop merge function, allowing you to set the time interval and range of drop merging.

4. You can turn off the automatic pickup of dropped objects, you can only use the right button to pick up.

5. Blocks can not be placed in the location of the falling objects.

Configuration file: VintagestoryData/ModConfig/PrecisePickedUp.json

{
  "PickupConditions": 0 // Right-click Pickup Condition 0: Empty Right-handed 1: Empty Right-handed or Left-handed 2: Unconditional
  "CanAutoCollect": true, // Whether to allow automatic pickup of dropped objects
  "CanPlaceBlock": true, // Whether or not to allow blocks to be placed at the drop
  "ShowItemDescription": true, // Displays the description of the item
  "AutoMerge": true, // Drops are automatically merged
  "MergeRange": { // Merge range
    "X": 1.0, // horizontal range
    "Y": 0.2 // vertical range
  },
  "MergeInterval": 3.0 // Merge interval
}

 

 

It is recommended to cooperate with better entity interaction to facilitate picking up dropped items from plant blocks: https://mods.vintagestory.at/betterentityinteraction

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.2 28 3 days ago Show precisepickedup_1.0.2.zip Install now
v1.0.1 26 5 days ago Show precisepickedup_1.0.1.zip Install now
v1.0.0 59 Oct 1st at 1:44 PM Show precisepickedup_1.0.0.zip Install now

7 Comments (oldest first | newest first)

💬 MystiVaidAuthor, 3 days ago

LarekFlynn Thanks for testing

💬 LarekFlynn, 3 days ago

loads good now!

💬 MystiVaidAuthor, 3 days ago

LarekFlynn Try 1.0.2?

💬 MystiVaidAuthor, 3 days ago

LarekFlynn Thanks for testing, I'll see how to fix it later

💬 LarekFlynn, 3 days ago

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

💬 MystiVaidAuthor, 4 days ago

LarekFlynn It works fine for me, can you provide more information?

💬 LarekFlynn, 4 days ago

v1.0.1 Does not work in 1.19.8

(edit comment delete)