Started by
Thijmen19
on
Topic category: Help with Minecraft modding (Java Edition)
so im trying to add a light to my mod, that light is a simple roof light so I want it to be only placeable on the underside of a block. I've tried a lot of things with procedures only did not get it to work.
It's not very hard to do this with procedures! Instead of trying to place the block, you should create a brand new item that looks and has the same name as the block. Inside it, create a procedure with the trigger "When right clicked on block." The procedure should check if the direction was 'DOWN' and if it is, then place a block at x, y-1, z. That should solve your problem.
This was helpful thank you