Blockstates is a plugin which allows you to define multiple states in which your blocks change textures, models, bounding boxes and light levels. It introduces the blockstates mod element and multiple procedure blocks with which you can control the current blockstate your block uses.
This is a java plugin and requires java plugins to be enabled.
Changelog
v1.5.1
-Fixed the latest 2024.3 patch breaking the UI
v1.5
-Ported to 2024.3 and neoforge 1.21.1
v1.4
-Ported to 2024.2 and neoforge 1.20.6
v1.3.2
-Updated the block template to include a bugfix from 2024.1 patch 2
v1.3.1
-Updated to work with MCreator 2024.1.15821
v1.3
-Support for MCreator 2024.1
-Support for neoforge 1.20.4
v1.2.2
-Fixed blocks having build errors in 1.19.4
v1.2.1
-Fixed blockstate textures not working in 1.19.2
-Fixed crashing when using bounding box offset with blockstates
v1.2
-Blockstates can now have different bounding boxes
-Blockstates can now have different luminance (light level)
-Added the cross and crop base models to blockstates
v1.1
-Fixed template errors when multiple blocks and blockstates were present
Comments
Hi! I found the issue and its an easy fix! What worked for me is that I copied "blocks" folder and pasted it in the same place with a folder name "block", it is in workspace folder: src/main/resources/assets/modname/textures. Maybe you will have "block" folder first then do the same but rename copied folder "blocks" (what worked the best for me, is that same textures were in both folders even if they were dupicates, what happends is that 1.19.2 has just diffrent folder name from 1.19.4 and above and plugin works in the newer one "blocks" if you change minecraft version, the folder will delete, so keep in mind to just copy and paste all textures in a renamed folder each time you switch to 1.19.2) hope I helped :)
EDIT: Nevermind...
Fixed that issue although problem is partially on Blockstate side too but can bypass it
Explanation: I had machine that stores energy and that works fine
However I have set it to set stored energy value to 0 whenever it places and when blockstate changes to Default, It treat it as the block was placed again somehow
Did you install the 2024.2 plugin version?