Started by
sylvrenn
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I'm creating a lamp block for my mod that uses a custom 3D model. Basically, I want it to work similarly to Item Frames or Bells, and I want them to only be placed attached to another solid block. I have a blockstate enum called "attachment" to tell if the block is attached to a wall or ceiling, but I don't know how to detect it. I want the blockstate to change depending on whether you put this block attached to a wall or ceiling. Can anyone help me?