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.
The main GUI window itself needs to be running because I want to insert items into it, so I'm a bit confused about what you're asking. I haven't had time to sit down and figure out how to write the code to insert only selected items. At the moment, I don't see a solution.
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?
The main GUI window itself needs to be running because I want to insert items into it, so I'm a bit confused about what you're asking. I haven't had time to sit down and figure out how to write the code to insert only selected items. At the moment, I don't see a solution.
And that's what you meant... when I finish preparing them, maybe in the future they could be locked to allow manual code editing.
okay that's understandable but that's probably the only way, in that version, apart from the "limit stack input to" thing..
https://mcreator.net/comment/295794#comment-295794