Started by
Ali107
on
Topic category: Help with Minecraft modding (Java Edition)
There is "Is Block Solid?" procedure block, which checks if the block is solid or see-through. Is the a procedure that checks if a block is a full 1x1x1 block?
So I mean it returns true if it was grass, glass, cobblestone, bricks, logs, and etc.
Also It returns false if it was stairs, slabs, anvil, foliage, torches, signs, and etc.
Is there a procedure block for that?
You can add the blocks you wish to detect to a new BlockTag, and then just test if the block is tagged with that BlockTag.
I know that is possible, it would take ages to make this tag though.
Is there a procedure instead?
Why do you think it takes ages to make such a tag... Sure you can throw the whole kitchen sink of conditions using procedures to weed out exactly what you want but you really can't take the five minutes it takes to simply add the blocks to a single element to make your procedure run tenfold smoother? Once it's set up then its set up.
Create a new tag.
Use "mod" namespace.
Use "block" type
And then just take five minutes to add the blocks to your tag. Remember that you can use ctrl+click and shift+click to select multiple blocks at once! ;)
okay thanks.