in the older version there is only this: https://imgur.com/a/U5wZB3p But even in newer versions, where it's possible to set a procedure, I still don't know how to write code to limit it to selected items and their quantity, for example, 1. I was thinking of a workaround: detecting the item being placed and how many, and if it's not the right one it disappears, but also returns the item it took to the user. But I don't know how...
"limit stack input to" is only for limiting to one item. And I would like to use multiple items. Apart from that, I haven't tried the other method you sent yet and I haven't thought about how to write it yet.
you can probably use this,
if that's not available in your version have you tried this,
or does that not do what I think it does
in the older version there is only this: https://imgur.com/a/U5wZB3p
But even in newer versions, where it's possible to set a procedure, I still don't know how to write code to limit it to selected items and their quantity, for example, 1. I was thinking of a workaround: detecting the item being placed and how many, and if it's not the right one it disappears, but also returns the item it took to the user. But I don't know how...
have you tried this?
https://mcreator.net/comment/295794#comment-295794
in modern versions you can use the disable condition and
but if you don't mind locking your gui element you should be able to achieve the same result, a procedure controlling what you can put in the slot
"limit stack input to" is only for limiting to one item. And I would like to use multiple items. Apart from that, I haven't tried the other method you sent yet and I haven't thought about how to write it yet.
Okay are you okay with locking your gui element?