[SOLVED] BLOCKSTATE // Am I using it right? (2062.2)

Started by Meemipootisi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] BLOCKSTATE // Am I using it right? (2062.2)
Tue, 07/21/2026 - 21:33 (edited)

I am starting to get confused how I properly use these Blockstates.

The easiest would be the lantern. I have one standing and one hanging. I am trying to give it directional properties, but it just does not work as intended.
First it mainly had no rotation. Then I gave it a up/down property with their true/false statement. Either of them seem not to work, because it stays the same standing blockstate instead if the hanging variant. Later I gave it the N/S/W/E/D/U rotation and it also does not change to the hanging variant, instead the block rotates himself.
 

Same applies to my custom torch but it's worse or more complicated.

What do I do wrong? What property do they use???
I even checked some sources around the internet.
Only saw an old video of Northwest from MCreator 2020.2 or something, I am not sure, but I do not want to implement it like that unless there is no way.

Edited by Meemipootisi on Tue, 07/21/2026 - 21:33
Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, I recently tested my…
Tue, 07/21/2026 - 15:29

So, I recently tested my lantern again. It seems to need the HANGING property, but for some reason, when it's not hanging, the lantern itself rotates 90 degrees

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Solved the block rotation…
Tue, 07/21/2026 - 15:45

Solved the block rotation issue, but the hanging true or false stays

 

Joined Mar 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to change the…
Tue, 07/21/2026 - 20:12

You need to change the blockstate with procedures.
To use your lantern as an example, make a custom logic property called "hanging" (which you have already done) and add different textures/models for whether hanging is true/false.
Now, add a procedure that triggers on when block is added/placed or on block tick.

In this procedure, you can check for the blocks orientation, and set the "hanging" property to true or false based on that.

Doing it based off of orientation is smart, but if you would not like to have orientation in your block, just have the procedure check if the block above is solid.

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you have an example so I…
Tue, 07/21/2026 - 21:06

Do you have an example so I could use it as an orientation?

 

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, found the…
Tue, 07/21/2026 - 21:32

Nevermind, found the solution without the blockstate thing for the lantern
I ignored the blockstate and just checked, if under the lantern is "air".