Tinkers Construct

Tinkers Construct

170M Downloads

Visual bug if a tool has its inventory opened and is dropped simultaneously

Closed this issue ยท 3 comments

commented

Minecraft Version

1.20.1

Modloader

Forge

Modloader Version

47.4.1

Mantle Version

1.11.55

Tinkers' Construct Version

3.10.0.67

Describe your issue

By dropping a tool at the same time that it is right clicked, it is possible to open the tool inventory GUI for something that is not a tool. This opens a GUI with no slots, and causes all inventory slots to become visually offset, even after closing the GUI, until a stack is picked up.

This can also be done by swapping the tool elsewhere in the inventory at the same time as opening it. The execution is the same, except it uses the numbered keys to move the tool elsewhere in the hotbar.

Image

The tool in this case is a wooden sword with Smelting I. As I have figured out, the upper left slot of the inventory in this screenshot is actually the tool's inventory. If reproduced with a tool that has Smelting II, the entire inventory is offset by two slots instead of one.

Visual demonstration:

javaw_k09ubZVTRI.mp4

Steps to reproduce

This can be done in any world.

  • Create a tool with an inventory (e.g. a wooden sword with one level of Smelting)
  • Open the inventory
  • Press the "Drop Selected Item" key (probably Q) and right click the tool at roughly the same time
  • If successful, you should see a GUI with no slots other than the inventory. All slots in the inventory should be in the wrong place.

Crash Report

No response

Can you reproduce with just Tinkers?

Yes

Performance Enchancers

None of the above

Other mods

No response

Searched for known issues?

Checked pinned issues, Searched open issues, Searched closed issues, Checked the FAQ, Checked the in game books

commented

Well, then don't do that.

commented

Wasn't too bad of a fix it seems, all I had to do was ensure the stack in question was synced and the rest automatically corrects itself when the container changes.

I would put this in the camp of dumb prizes for dumb choices, but I could see a laggy server causing it ("laggy" server was the easiest way to test it).

commented

Fixed in 3.10.1.76