-
Notifications
You must be signed in to change notification settings - Fork 0
SilliestLibDataUtils
HyperionDash edited this page Jul 8, 2026
·
5 revisions
These are standalone versions of models from the BlockFamilyProvider, rarely useful outside of specific circumstances, but i decided to include it anyways, all of the standalone block models have similar formatting in your ModelProvider Datagen.
SilliestLibDataUtils.createStandaloneSlab(ExampleBlocks.EXAMPLE_SLAB, Blocks.EXAMPLE, blockModelGenerators);Or alternatively, with a static import of SilliestLibDataUtils, you can do it like this.
import static net.hyper.silliestlib.utils.SilliestLibDataUtils.*;createStandaloneSlab(ExampleBlocks.EXAMPLE_SLAB, Blocks.EXAMPLE, blockModelGenerators);The createTrivialCube() method no longer generates an item model, so ive added a method that does the same, while generating a simple item model.
createTrivialCubeWithItemModel(ExampleBlocks.EXAMPLE, blockModelGenerators);