[MCreator 2021.1] Block tick update issue [best title I could think of]

Started by FireBlox on Sun, 04/25/2021 - 17:00

Topic category: Help with MCreator software

Last seen on 14:59, 18. Jun 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[MCreator 2021.1] Block tick update issue [best title I could think of]
Sun, 04/25/2021 - 17:00

The title doesn't exactly describe this problem as well as I would like it to, so here's a far better explanation:

Essentially, there is a block I have made that I want to call a specific procedure every tick. The problem I face is that I can't make it work in the way that I would like for it to since naturally generating blocks don't normally tick on their own. Making the block tick randomly works, but is insufficient since the function of this block is to prevent my custom trees from floating in the air and the random tick update is simply too slow. I'm kind of stuck here, especially since in the 1.12.2 version of the mod I'm working on I got this sort of thing to work just fine.

I am essentially asking if there is a way to force a naturally generating block to tick the same way as a player placed block, and if there is then I would really like to know what to do.

I am essentially asking if…
Sun, 04/25/2021 - 17:38

I am essentially asking if there is a way to force a naturally generating block to tick the same way as a player placed block, and if there is then I would really like to know what to do.

Unfortunately this is not possible

Last seen on 14:59, 18. Jun 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
okay. In that case, are…
Sun, 04/25/2021 - 18:09

okay. In that case, are there any alternative solutions that are available right now that would achieve my desired results? The goal is to essentially have this block generate as part of a custom tree structure and then detect the type of wood above, and from there it will start duplicating the wood block from above and itself until it detects something below it from a certain set of blocks. As I previously described, I can't seem to get this block to act on its own or at a sufficient speed, but it seems as if there is not a way to achieve exactly that.

Something else that does come to mind for me on this subject though is an ability to specify one or multiple types of custom trees through a biome's settings rather than using structure spawns so that I wouldn't need to make this sort of block. I know it's not entirely related to the original subject, but Is this something that would be possible to add to MCreator at some point in the future? Even if I would prefer to have such a thing right now, I am willing to wait however long it would take to implement such a system.

 

The way growing like this is…
Mon, 04/26/2021 - 06:31

The way growing like this is achieved is using random tick update in vanilla.

Multiple tree structures may be possible in the future, I remember there was a PR for this but is currently not active, maybe the developer of that pr will pick it up back in the future