Just a quick question

Started by Guillesahu07 on

Topic category: Help with MCreator software

Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just a quick question

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?

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.