Block generates sideways

Started by Xatrix on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block generates sideways

Made a custom block which has Y axis rotation, placing by hand is normal but when naturally generated in Caves they're facing north instead of up, how do I go about fixing this?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The simplest method would be…
Wed, 11/08/2023 - 16:52

The simplest method would be to just change the default orientation of the block. There are more complex ways of doing this, but I would recommend just changing the default arrangement of the textures, and then if you really want it to be placed by the player a certain way, add a procedure that changes the block's direction when it's placed. (It will be much easier to change how the player places the block than to change how it generates.)