If block in a certain biome, replace block

Started by Spayzers on

Topic category: Help with MCreator software

Active 1 week ago
Joined Oct 2022
Points:
418

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
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

Active 19 hours ago
Joined Apr 2024
Points:
404

User statistics:

  • Modifications: 8
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 470
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"

Active 1 week ago
Joined Oct 2022
Points:
418

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
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

Active 19 hours ago
Joined Apr 2024
Points:
404

User statistics:

  • Modifications: 8
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 470
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 

Active 1 week ago
Joined Oct 2022
Points:
418

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
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 

Active 19 hours ago
Joined Apr 2024
Points:
404

User statistics:

  • Modifications: 8
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 470
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