Started by
Matt_Rethyu
on
Topic category: Help with Minecraft modding (Java Edition)
Hi everyone!
Could any of you explain to me as simply as you can how to make my block behave like wooden logs do, meaning it faces upwards when placed on the top or bottom of a block and sideways when placed on a side of the block?
I'm pretty sure it's determined by "Custom 3D model type" JSON file, but I've tried messing around with it using configs of vanilla logs with no success.
Have a look here: https://mcreator.pylo.co/forum/31093/how-make-rotatable-block-video-tut…
The block I created using this tutorial doesn't really do what I want. It does rotate, but not based on the face it's placed on like logs do but rather based on relative player's position. And it can either be horizontal or vertical, not both.
Is there any mod created by MCreator that adds its own logs? I might try to contact authors directly
First, your block must be an instance of or extend BlockLog , BlockOldLog or BlockRotatedPillar. Then in blockstate .json file you need to assign a model for each of the axis (x,y,z) and also one for a state when the log has no direction (the full bark block).
I'd like to think that I almost know what that means. However, I'm a noob, and as I've found just replacing Block with BlockLog in "extends Block" didn't work, even after I imported BlockLog in a flash of noob genious.
My adventure with MCreator started literally two days ago, and I know no Java. I appreciate your tip, I really do, but you'll need to be a lot more specific if I'm to understand a thing.