Started by
Zexmus
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make it so my block cant be placed on walls, I saw another forum on this but there wasnt enough detail for me to understand it.
Can someone help me out?
Keep in mind, I have no guarantees this will work, and this will only work for blocks that can only be placed by players (versus natural generation).
So, you’d make a sensor for when it’s placed, to see if it was placed on a wall (procedure trigger When Block Added). I’d have to mess around for a while to figure out a way to do this, but it’s almost certainly possible. If it is indeed placed on a wall, place air at X Y Z and add 1 of said block to the nearest player’s inventory.
Also, could you link the other forum? It sounds interesting.
Hm, yeah iv been trying to get this to work Ill try to see if i can do something with what you said.
Here is that forum https://mcreator.net/forum/56056/how-do-i-make-block-cant-be-stacked-or-placed-walls