Create

Create

86M Downloads

"Time" Item Processing NBT Value can decrease beyond -1

IronApollo opened this issue ยท 2 comments

commented

When working on a cow farm design, I encountered an issue with my raw beef not cooking at all, even though it was in a smoking air flow. The item would eventually despawn without ever cooking. After further testing and investigating, I noticed that "smokable" items can become unsmokable if they are first transferred from a splashing air flow.

A setup to replicate the issue:

image

Throwing a porkchop into the water block will allow the fan behind the water to push it into the smoke stream. The smoke stream pushes it to the left and displays white smoke particles as if it is smoking the item. As stated before, the item is never replaced with its cooked form. When viewing the NBT of the item using NBTExplorer, the following is shown:

image

Theory: When in the water stream, the item is not "splashable", so its "Time" NBT value is set to -1. When the item is directly transferred to the smoking stream, the item is considered smokable and has its "Time" NBT value decreased by 1. Since decreasing from -1 will never be equal to 0, the item will always fail the processing time check that precedes the item conversion logic.

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.