Started by
Daddy99_2022
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to modify the NBT data of a barrel (the inventory part) to set a specific amount of items. I am trying to make a command to set the signal strength of a barrel. For example, signal strength 1 would be a singular item (of whatever item); However for signal strength 9, it would be 15 stacks and 28 of an item. How can i do this?
Those properties are hard coded, they aren't controlled by NBT tags. If you wanted to do this, you would need to create a custom storage block. Comparator outputs are also determined automatically by inventory size, so I'm not sure if there's a way to set this manually.