Changing the texture of a block when placing other a block above it

Started by Kosha_ on Sun, 12/27/2020 - 04:02

Topic category: Help with modding (Java Edition)

Last seen on 13:47, 11. Feb 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Changing the texture of a block when placing other a block above it
Sun, 12/27/2020 - 04:03 (edited)

Hello, I would like to ask for help....
I want when on a block of stone placing a block of dirt/grass, he changed his texture, and vice versa when it is not on blocks of dirt/grass he returned to its original texture.

At the moment it all looks like this:

https://prnt.sc/wan094

And according to my idea it should look like this:

https://prnt.sc/wan48p

Edited by Kosha_ on Sun, 12/27/2020 - 04:03
Last seen on 15:22, 6. Mar 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This is what I'm trying to…
Sat, 01/02/2021 - 17:15

This is what I'm trying to do lol.

Last seen on 07:18, 9. Mar 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Easy, create two blocks and,…
Sun, 01/03/2021 - 12:54

Easy, create two blocks and, if the first has grass on top of it, it is replaced with the second block.

Last seen on 07:18, 9. Mar 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For the part when you break…
Sun, 01/03/2021 - 12:55

For the part when you break the grass block is the same, if the block above is not grass, it's replaced with the first block.