Shift clicking after a craft don't respect stack size.

オープン
#65 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java
領域
game-dev

調査の方向性

/allstackable set minecraft:oak_door 1 を使って作業台で問題を再現し、その後、インベントリとコンテナの shift-click 転送のエントリーポイントを追跡します。作成されたスタックが設定された最大数に分割され、収まりきらないアイテムがソーススロットに残れば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Describe the bug
If we set the stack size for an item less than what a recipe give, you can keep a bigger stack in the inventory with shift click.

To Reproduce
Steps to reproduce the behavior:

  1. Make the stack size of door 2 or less /allstackable set minecraft:oak_door 1.
  2. Go to a crafting table and craft three doors.
  3. You can keep the 3 doors stacked with shift click (work in inventory and containers).
  4. If you take the 3 doors with the mouse cursor, the game will force you to make stack of size 1 on deposit.

Expected behavior
Shift clicking should split the stack into multiple one, according to max size option. If the target doesn't have enough space keep the remaining items in the source slot.

Version (please complete the following information):

  • Minecraft Version: 1.20.4
  • Mod Version 2.0,0
  • Java Version 17.0.8

And of course, thank you for the wonderful mod!

主要言語
Java
スター
13
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KrisCris/AllStackable のほかの issue

KrisCris/AllStackable の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。