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.6
-Updated to 2024.4
-Fixed vanilla texture use resulting in missing textures
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
So i got the blockstates working, but there are a couple things i want to do with them, first one being like the candle in minecraft so if you right click the block with the same block it changes the blockstate, and the second one being that different blockstates drop different amounts, like if i have 3 blockstates and i want the first blockstate to drop 2 of the block, and so on, how could i make that happen?
This is not how it works.
You define the amount of blockstates.
For example: if you want a block to have one shape when it's off and another shape when it's on, it will have two blockstates. But, if you want your block to have more shapes, sizes, colors, rotations, etc... then it will have more blockstates based on what you want. You decide.
I'm having a reoccurring issue where a blockstate will display as a null texture and it seems to be inconsistent but even if I delete the blockstate element and texture. Some data is retained that keeps the texture null regardless of what I try. Thank you in advance for your support.
the plugin that everyone asked for, and everyone needed.