#My block variation is not working on game

1 messages ยท Page 1 of 1 (latest)

thorny orchid
#

This is the json of my block

thorny orchid
#

and this is how it looks like

thorny orchid
wary wadi
#

@jade spruce sorry to bother but this nice man is looking for help with this, I tried helping in VC but it seems like a deeper issue

#

need someone with more experience

jade spruce
#

This is how MC does it for dirt and stuff to not look like all the same. They use one and do this in blocks.json json "dirt" : { "isotropic" : true, // <<<-------- this part, set to true and it will variate each time set down "sound" : "gravel", "textures" : "dirt" // <<<<----- points to entry in terrian_textures.json }

Now if you have totally diff textures that you really want to use, like in my dice example, this is how I did it.
texture defjson { "resource_pack_name" : "dw623", "texture_name" : "atlas.terrain", "num_mip_levels" : 4, "padding" : 8, "texture_data" : { "dice" : { "textures" : [ { "variations": [ {"path": "textures/blocks/dice/dice_1","weight": 1}, {"path": "textures/blocks/dice/dice_2","weight": 1}, {"path": "textures/blocks/dice/dice_3","weight": 1}, {"path": "textures/blocks/dice/dice_4","weight": 1}, {"path": "textures/blocks/dice/dice_5","weight": 1}, {"path": "textures/blocks/dice/dice_6","weight": 1} ] } ] } } }
Blocks.Json entryjson "dw623:dice": { "sound": "stone", "textures": "dice" }

thorny orchid
#

1.19.50 format?

jade spruce
#

For what you are doing, one texture and the isotropic should be what you really need... but the other example will work.

#

yes should work the same in all versions

thorny orchid
#

Well, i'm trying it rn

#

ty

jade spruce
thorny orchid
#

This my texture def

#

block.json

#

Ohh

#

so, literraly, my 4 images was the same but 90 degrees flipped and i could just use the first method

#

im an idiot

#

didnt worked the second method

#

im trying the first one

#

still not working

#

@jade spruce the block geo is the problem?

jade spruce
#

Fully test #1 by copying your texture image, putting a different color in each color and verify. It may be that your texture looks the same no matter what way it is facing.

thorny orchid
#

they are not the same

jade spruce
#

the isotropic one goes in blocks.json only... take out that word from terrain

thorny orchid
#

oh

jade spruce
#

I am saying for the grass1... since that is the only one being used in the first method

thorny orchid
#

and i then place it on block json at true

jade spruce
#

yes

jade spruce
#

but test with a color in each corner, copy to another name, alter and use that to test with, so you can prove it is changing or not....

thorny orchid
#

Ye, im going to

#

still not

thorny orchid
#

im an idiot, i saved the wrong document

thorny orchid
#

I finally did it

#

my fucking lord