Posted August 4, 20214 yr I'm trying to create a rotated variant, like sand. I've seen the createRotatedVariantBlock method in the BlockModelProvider class. But, I do not know how to apply in a mod block. There's a way to do it?
August 4, 20214 yr 1 minute ago, LuccaPossamai said: I've seen the createRotatedVariantBlock method in the BlockModelProvider class. this is only for the DataGenerator 1 minute ago, LuccaPossamai said: I do not know how to apply in a mod block. There's a way to do it? you need a BlockStateProperty, you can take look for an example into some vanilla classes (e.g. RotatedPillarBlock)
August 5, 20214 yr Author I didn't mean this kind of rotation, I men the rotation of the sand or gravel that only the top side texture is rotated.
August 5, 20214 yr 7 minutes ago, LuccaPossamai said: I didn't mean this kind of rotation, I men the rotation of the sand or gravel that only the top side texture is rotated. sorry I have no idea what you mean🤔
August 5, 20214 yr Author I don't know how to explain, but, look at this picture. There are 2 blocks of sand, and the top texture of the both are different(rotated). Edited August 5, 20214 yr by LuccaPossamai
August 5, 20214 yr On 8/4/2021 at 8:38 PM, Luis_ST said: you need a BlockStateProperty, you can take look for an example into some vanilla classes (e.g. RotatedPillarBlock) this is actually the same, you rotate the model in the blockstate.json file Edited August 5, 20214 yr by Luis_ST
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.