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

NxLabs / Vintage Story

P

PrecisePickedUp

MBy MystiVaid

Allow right-click to pick up drops and projectile, display drop information and merge drops.

PrecisePickedUp

Description

<div class="markdown-heading" dir="auto" data-immersive-translate-walked="9af7da04-4aa1-4dbf-af13-64e28094a41a">&nbsp;</div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto"> <pre class="notranslate"><code></code></pre> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" tabindex="-1">精确拾取</h1> <a id="user-content-精确拾取" class="anchor" href="https://github.com/scgm0/PrecisePickedUp#精确拾取" aria-label="Permalink: 精确拾取"></a></div> <pre class="notranslate"><code></code></pre> <ol dir="auto"> <li>允许使用鼠标右键拾取掉落物和投射物,可以设置拾取条件:右手为空,右手或左手为空,无条件。</li> <li>会显示准星处的掉落物和投射物的名称与介绍,可以关闭介绍显示。</li> <li>可以开关掉落物合并功能,允许设置掉落物合并的时间间隔与范围。</li> <li>可以关闭掉落物自动拾取,只能使用右键拾取。</li> <li>可以不允许在掉落物的位置放置方块。</li> <li>默认开启范围拾取功能,以交互的掉落物/投射物为中心,将拾取指定范围内的所有同种掉落物/投射物</li> </ol> <pre class="notranslate"><code></code></pre> <p dir="auto">配置文件:<code>VintagestoryData/ModConfig/PrecisePickedUp.json</code></p> <pre class="notranslate"><code></code></pre> <div class="snippet-clipboard-content notranslate position-relative overflow-auto"> <pre class="notranslate"><code>{ // 客户端配置: "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 // 垂直范围 } } </code></pre> </div> <pre class="notranslate"><code>&nbsp;</code></pre> <div class="zeroclipboard-container">推荐配合更好的实体交互,方便拾取植物方块中的掉落物:https://mods.vintagestory.at/betterentityinteraction</div> <div class="zeroclipboard-container">&nbsp;</div> </div> <div class="markdown-heading" dir="auto" data-immersive-translate-walked="9af7da04-4aa1-4dbf-af13-64e28094a41a">&nbsp;</div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto"> <pre class="notranslate"><code></code></pre> <div class="markdown-heading" dir="auto"> <h1 class="heading-element" dir="auto" tabindex="-1">Precise Pickup</h1> <a id="user-content-precise-pickup" class="anchor" href="https://github.com/scgm0/PrecisePickedUp#precise-pickup" aria-label="Permalink: Precise Pickup"></a></div> <pre class="notranslate"><code></code></pre> <ol dir="auto"> <li>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.</li> <li>Displays the name and description of the targeted dropped item or projectile. The description display can be toggled off.</li> <li>Enables/disables item merging for dropped items, with adjustable merge interval and range.</li> <li>Can disable automatic pickup of dropped items, restricting collection to right-click only.</li> <li>Option to prevent block placement at the location of dropped items.</li> <li>Range pickup is enabled by default, allowing pickup of all same-type dropped items/projectiles within a specified radius around the interacted item/projectile.</li> </ol> <pre class="notranslate"><code></code></pre> <p dir="auto">Configuration file: <code>VintagestoryData/ModConfig/PrecisePickedUp.json</code></p> <pre class="notranslate"><code></code></pre> <div class="snippet-clipboard-content notranslate position-relative overflow-auto"> <pre class="notranslate"><code>{ // 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 } } </code></pre> </div> <pre class="notranslate"><code></code></pre> <div class="zeroclipboard-container">&nbsp;</div> <div class="zeroclipboard-container">It is recommended to cooperate with better entity interaction to facilitate picking up dropped items from plant blocks: https://mods.vintagestory.at/betterentityinteraction</div> </div>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.