Issue with NBT Number Tags for barrel and wine

Started by ZarephLae on

Topic category: Help with modding (Java Edition)

Last seen on 13:27, 17. Jun 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issue with NBT Number Tags for barrel and wine
Tue, 05/21/2024 - 16:59 (edited)

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.

rich text editor image

I've also tried an alternative procedure that switched the block from using NBT tags to just a local variable number.
r/MCreator - Issue with NBT Number Tags for barrel and wine

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.

Edited by ZarephLae on Tue, 05/21/2024 - 16:59
Last seen on 13:27, 18. Jul 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Repost pictures pls
Thu, 05/23/2024 - 12:36

Repost pictures pls