My procedure isn't called when I want it.

Submitted by MMG on Thu, 08/01/2019 - 13:36
Upvotes: 2
Issue description

okay what to explain. I wanted to make more biomes in my underground dimension.

More Info: https://youtu.be/4VT6iEOsYxs

 

Workspace: https://drive.google.com/open?id=1dtvU91Cl82gNkZJyyotqCjX_l7Xoegpd

Also before you ask. Everything is made by 4 mod elements. They should be down in the list.

Issue comments

Developer Submitted by Klemen on Thu, 08/01/2019 - 14:28

I did not get a list of mod elements in the list you talked about. And next time please include text description in the ticket too, not just the video.

On block placed is not called naturally (it is only called when entity places this block), but on block added is, this is the issue you are having.

This is not really bug report but support request and such things are better suited for the forums, so more users are there to see and help you as we have this tracker more for bug reports, not for support requests.

by a list I meant in mcreator element list interface (workspace tab)

also I though this is bug becouse it worked with other blocks

and one more thing. I mistaked the procedure trigger I said. It was not placed by, but it was when block added.

I am terribly sorry. I don't know whats'up with me lately

Developer Submitted by Klemen on Fri, 08/02/2019 - 08:16

No worries, everyone gets confused sometimes :D

And can you try help me? as I said.

''by a list I meant in mcreator element list interface (workspace tab)

also I though this is bug becouse it worked with other blocks

and one more thing. I mistaked the procedure trigger I said. It was not placed by, but it was when block added.''

Developer Submitted by Klemen on Fri, 08/02/2019 - 09:56

I have one question, why don't you just select the biome blocks by default, but use this replace system at the first place?

Becouse in nether like dimension you can't set more than 1 block, but you can set more than 1 biome. So I don't want to have

milion dimensions on every biome but I want all biomes in 1 dimension

Developer Submitted by Klemen on Fri, 08/02/2019 - 13:34

Ok I see. I will check why this is happening.

Sorry. I know you have many work to do nd not only help greenhorn like me. But I just want to check if you haven't forget about this. Just want to be sure. I want to make some progress XD. Sorry

Developer Submitted by Klemen on Sun, 08/04/2019 - 09:35

I am very busy right now so it might take me some time to get time to look into details.

Okay. I am okay with it. I just wanted to be sure. I go work on other features of my mod. Like new mobs. And blocks for that new biomes.

Developer Submitted by Klemen on Sun, 08/04/2019 - 18:08

Sounds cool!

Developer Submitted by Klemen on Sun, 08/18/2019 - 08:41

I see what the issue is. On block added is called when the generator places the blocks in dimension and this happens before the biomes are even defined. You will need to use a different approach to this. One idea would be to use tick event for checking, but this might cause a lot of lag.

Developer Submitted by Klemen on Wed, 08/21/2019 - 17:26

I would start by tick update and see if the lag is not too bad. Otherwise, I am afraid one would need to write custom world gen to overcome this.

I will let you know if I get any other ideas.