Topic category: Help with Minecraft modding (Java Edition)
Hello, so the goal of this procedure is meant to be simple. A user would place juice in a barrel and if this juice falls between any of the 0-27 slots (as dictated by the Slot NBT tag), once 6 seconds pass, the juice will turn into wine.
Currently, this does not work at all. Perhaps I overlooked something but I'm not sure what that could be. I know I could check each individual barrel slot, but I wanted to keep this procedure short and I'm pretty sure I did the check for each slot cycling through 0-27 and resetting at the end correctly. Same with the juice, I am pretty sure I did the juice tick correctly too.
I've also tried an alternative procedure that switched the block from using NBT tags to just a local variable number.
Any and all help is greatly appreciated.
P.S. The texture for the juice and wine do look similar but I promise you they are two different items. The color is different if you look close enough.
Repost pictures pls