How To Place Custom Model Blocks In Multiple Directions, Not Just One Direction

Started by Johnion on

Topic category: Help with Minecraft modding (Java Edition)

Active 8 years ago
Joined Dec 2015
Points:
713

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
How To Place Custom Model Blocks In Multiple Directions, Not Just One Direction
Fri, 04/24/2020 - 11:59 (edited)

So. I want my custom modeled block to face any direction I place it in, instead of just East for example.

 

The only way I can think on doing this is making 4 models each facing North South East and West, and switching between them when a player right clicks.

 

Let me know if you guys have any other sugestions, such as a custom code or something.

Edited by Johnion on Fri, 04/24/2020 - 11:59
Active 5 years ago
Joined Aug 2015
Points:
773

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 103
Bump, as I too am having a
Tue, 03/22/2016 - 19:25

Bump, as I too am having a similar problem. When using the "Add block" event using a custom model, the model with always face the player. I need my custom model to face in a specific direction when placed to match with the previous phase of the block (In this case it is a cabinet that opens and closes, but the doors will turn to face whatever direction the player is facing upon the "add block" even since the "Closed Cabinet" and "Open Cabinet" are different blocks.

Active 1 year ago
Joined Aug 2013
Points:
1162

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
Use PropertyDirection.
Tue, 03/22/2016 - 21:00

Use PropertyDirection.

Active 5 years ago
Joined Aug 2015
Points:
773

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 103
RE:Use PropertyDirection.
Tue, 03/22/2016 - 21:08

@#2 Could you explain PropertyDirection further Nuparu00? Is that to be entered as custom code or in the block editing itself?

Active 5 years ago
Joined Aug 2015
Points:
773

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 103
RE:MCreator have not this
Wed, 03/23/2016 - 01:19

@#3 jsi nejlepší! I mohou potřebovat více pomoci, ale myslím, že to mám.

Active 8 years ago
Joined Sep 2014
Points:
743

User statistics:

  • Modifications: 1
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
RE:MCreator have not this
Wed, 03/23/2016 - 03:42

@#3 the problem is that you can't code variables.

Active 1 year ago
Joined Aug 2013
Points:
1162

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
RE:RE:MCreator have not this
Wed, 03/23/2016 - 12:17

@#3.2 What exactly you mean? It is possible code variables.
For example if you write:
int i = 23316;
It's variable.
Or if you write:
String text = "PotatOS";
it's still variable.

Active 8 years ago
Joined Sep 2014
Points:
743

User statistics:

  • Modifications: 1
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
RE:RE:RE:MCreator have not this
Sat, 03/26/2016 - 20:21

@#3.2.1 Oh, i'm trying to do an log block but it always face up, can you help me?