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

Started by Kosha_ on

Topic category: Help with modding (Java Edition)

Last seen on 20:57, 11. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:38, 4. Nov 2023
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

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