Started by
Sasya14
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I've tried looking for a solution but can't find an existing thread with it. I'd like to make a mod which has a block which places blocks, as such, I'd like to make an item slot that only accepts blocks, as limit stack input only seems to work with a single item, and wouldn't work with other mods. If I can't do that, is there a way of making a procedure that checks if the item in the slot is a block, and throws it out if it doesn't.
Thanks in advance.
that is pretty much possible with the power of P R O C E D U R E S
but there might be a problem:
there is no thing that can check if the item inserted is a block.
forgot to mention
there is some way to change the slot capacity
Yea I tried that but couldn't find anything that'd work
Hi, anyone who is looking for an answer. In block procedures, there is a thing that says Convert to or AIR if conversion fails