#More Crystal Ores Problem
1 messages · Page 1 of 1 (latest)
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.
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
What happened?
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...
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
[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
Thanks
Is this correct order?
yes
But it nothing happen
I convert the json file to txt file for it is not corrupt file
This is latest file but can you double check if my block file is correct
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.
Okay but it had no difference though
There was slight stuff... I took out unnecessary stuff.
That is up to you... LOL
Okay but I modify my earlier file to new file
Doesn't hurt to have back up in case you need reference... good luck, I am going to sleep now
Okay
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
What she said, and I'll look when I get home
@faint wind okay and can you teach me about traits in custom block at 1.20.0?
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.
Is there a sample or template which I can follow it?
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
Where?
Above #1123939140006850570 message
Oh but you try it my block file?
It work but I use different method
Video
Item file
@rain iron sorry for the ping but check this out
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