Just a quick question

Started by Guillesahu07 on Mon, 09/21/2020 - 19:41

Topic category: Help with MCreator software

Last seen on 17:12, 27. Sep 2020
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just a quick question
Mon, 09/21/2020 - 19:41

Just a quick question, when I set a block's model to door does it work as a door or do I have to make a procedure for opening and closing it?

Last seen on 16:53, 18. Oct 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What I have done is create a…
Tue, 09/22/2020 - 01:25

What I have done is create a procedure that When you right-click on the block, it changes to a different block completely (the same modle but rotated 90 degrees in block bench). I create 2 separate models for my doors, one labeled open, and one closed.

There are 2 procedures that are used in total. (One for the open version and one for the closed version so they can toggle back and forth.)
My procedure uses the "Keep NBT data" so the door keeps proper rotation relative to the ground.
Instead of an entirely new model, you could use the same modle but with a transparent texture. But for this you should make the  'open' version of the door 'pass through' enabled.

One of the 2 identical procedures: (This one labled "doorOpenOnRightClick")

The block code in the editor

Last seen on 16:53, 18. Oct 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In short:  Setting the block…
Tue, 09/22/2020 - 01:27

In short: 
Setting the block model to 'door' will not make it functional, you will need procedures.