#More Crystal Ores Problem

1 messages · Page 1 of 1 (latest)

trail dirge
rain iron
#

Try using block_face instead of cardinal_facing_2d. 2d would only give NSEW info, so not sure why the one on top worked properly unless your permuations are off anyway. Block face would be the face of the block you placed it on, so regardless of which way the player is facing, that would be the correct information to gather.

Since you are allowing all faces, take out the allowed_faces section on the placement filter, in case it is hindering something.

regal linden
#

I made a similar crystal block (except it doesn't grow) and I noticed that the rotation works perfectly when placing the block normally, but using an item to place it made the rotation not work

trail dirge
rain iron
#

well you would have also needed to change which rotation is which... they do not match up. Still not sure why your sides are not working...

trail dirge
#

Oh, so tell 0,1,2,3,4,5 in order

#

0 - ?
1 - ?
2 - ?
3 - ?
4 - ?
5 - ?

#

@rain iron by the way, thanks for helping in rotation

#

And also sorry for the ping

rain iron
#

[180,0,0]
[0,0,0],
[-90,0,0]
[90,0,0],
[0,0,90],
[0,0,-90]

#

do you have a free copy of the model, hard to play with as a block

trail dirge
#

Thanks

trail dirge
rain iron
#

yes

trail dirge
#

I convert the json file to txt file for it is not corrupt file

trail dirge
#

I fixed format ↑

rain iron
#

I do not have a cluster, so I made a weird something in blockbench to be my fake cluster... it looks funny

#

I am not an artist... but kinda had fun making it

#

Here is the JSON for that. You will need to change the elements back to yours, but that forces you to look at it in detail...

#

Don't write over yours, make a 2nd one and see what I did differently.

trail dirge
#

Okay but it had no difference though

trail dirge
rain iron
rain iron
trail dirge
#

Okay but I modify my earlier file to new file

rain iron
#

Doesn't hurt to have back up in case you need reference... good luck, I am going to sleep now

trail dirge
#

Okay

trail dirge
#

@rain iron hello, I try use trait and also I send my work and can you check it out?

faint wind
#

facing direction is not block face... 2 different perspectives and not the same result. You need to know what block face the crystal is placed on

rain iron
#

What she said, and I'll look when I get home

trail dirge
#

@faint wind okay and can you teach me about traits in custom block at 1.20.0?

faint wind
#

Traits just took over having to have q.block_face and the others... still use the block face one but it does not use numbers... I did not look to see if you changed to words. up down north south east west.

trail dirge
#

Is there a sample or template which I can follow it?

faint wind
#

aye... change all the facing direction to block face. It does not matter what way the player is facing, it matters what face of the crystal block you are placing the cluster... I already gave you code that worked and showed you a picture... just update it to 1.20

trail dirge
#

Where?

rain iron
#

Above #1123939140006850570 message

trail dirge
#

Oh but you try it my block file?

trail dirge
#

It work but I use different method

#

@rain iron sorry for the ping but check this out

rain iron
# trail dirge Oh but you try it my block file?

I cannot try your black file because you didn't send me the geo so I have to make my own. And I guess you can use commands to do that. It's not idea but it works. I still think you need to not confuse the words facing and block faces because they're two different things. And in the future for other projects you really need to know the difference.. because a player can face North and still put something on the top block face of another block. So just be mindful of that in the future. I still think you should make the correct version of that block using the permutations just so you have something that works that way