How to make lantern block?

Started by Ilja_Play on

Topic category: Help with MCreator software

Last seen on 01:56, 11. Jun 2022
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make lantern block?

How to make a block change its texture from its location, like a lantern on version 1.14?

Create a 3D Block (with…
Wed, 09/11/2019 - 00:28

Create a 3D Block (with Block Bench for exemple). After, import it in MCreator and put his luminosity to 15 (or something like this).

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You want a block to change…
Wed, 09/11/2019 - 20:01

You want a block to change state based on which face you place it? Bottom face, side-face/top face?

Last seen on 01:56, 11. Jun 2022
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
StellaeLux yes
Thu, 09/12/2019 - 07:55

StellaeLux yes

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It would be possible using…
Thu, 09/12/2019 - 08:50

It would be possible using procedures if you'd manage to store both the coordinates of what block the player is looking at and comparing it to the coordinates of where the block is placed. A higher y for the placed block would mean it's standing on top of something. A lower y means it's hanging and an equal y would result in 1 of 4 rotations based on x/z.

However I don't know if it's possible to get hand-coordinates while also getting the block to spawn right next to that block instead of replacing it. Otherwise you'd have to customarily do it through code.