If block in a certain biome, replace block

Started by Spayzers on

Topic category: Help with MCreator software

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If block in a certain biome, replace block

I want to make so that, if block A is in a specifxi biome, then it get replaced by block B after a certaun time.

If with pictures could be easier, thanks in advance

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
go to the block A advanced…
Tue, 07/16/2024 - 19:01

go to the block A advanced properties and set a number of ticks in the tick rate option (that will be the number of ticks that will take to the block to change) then go to triggers and make a procedure for: "on tick update" 

the procedure is:

-if is biome at x,y,z type "the biome you want"

-replace block at x,y,z with "block B"

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I see what you mean, but the…
Fri, 07/19/2024 - 09:00

I see what you mean, but the only problem that i forget to mention is that block A is a vanilla block

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a custom block that Is…
Fri, 07/19/2024 - 12:15

Make a custom block that Is identical to the vanilla one and make a procedure that checks when the vanilla one Is placed and replace It with the custom one, then do what I said the first time 

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, maybe for more context…
Mon, 07/29/2024 - 08:48

Okay, maybe for more context :

I have a pumpkin, that i placed in, lets say in a dark oak forest, imagine a natural pumpkin spawn, or grow from a crop, after some time, they get replaced by a white pumpkin that is the custom block 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the problem is that there's…
Mon, 07/29/2024 - 12:46

the problem is that there's no way of detecting when a block naturally spawns