KrisCris / KrisCris/AllStackable

Renaming a stack of previously unstackable items behaves unexpectedly

Open
#63 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Renaming a stack of 64 beds for example will destroy the anvil, drain a single experience level for each bed and destroying the anvil.

**To Reproduce**
Steps to reproduce the behavior:
1. Set beds to be stackable to 64
2. Give yourself atleast 64 levels and an anvil
3. Switch to survival and rename the stack of beds to anything
4. Witness a horrifically loud sound that simultaneously breaks the anvil and drains you of all your levels

**Expected behavior**
It should use just one singular level and not demolish the anvil

**Version:**
- Minecraft Version: [1.20.1]
- Mod Version [v2.0.0]
- Java Version [1.17]

**Additional context**
Ow my ears

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in Minecraft 1.20.1 with AllStackable v2.0.0: make beds stackable to 64, then rename the stack in survival using an anvil. Trace the stack-renaming and anvil interaction, and consider the fix complete when renaming the stack consumes one level, preserves the anvil, and does not produce repeated break sounds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.