Update Tick Procedure Not Working With Blocks Generated in the world

Started by Themmstudios on

Topic category: Help with modding (Java Edition)

Last seen on 04:16, 16. May 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update Tick Procedure Not Working With Blocks Generated in the world

Ive been making a 1.14.4 mod and there was a issue in which i had a invisible block that replaces the block with a chest with random loot and i used the procedure Update tick to spawn the chest using a command, yet it's not working and this is the command "setblock ~ ~ ~ minecraft:chest{LootTable:"minecraft:chests/simple_dungeon"}" but it looks like the blocks that spawn in by the player activates the procedure as when the block is generated in the world it doesn't activate the procedure, and i want a chest with random loot to generate in the world

Last seen on 20:35, 13. Jun 2023
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've been having trouble…
Thu, 02/13/2020 - 03:14

I've been having trouble with this kind of procedure too. 6_6 But I know that when you generate a random chest it doesn't actually fill up until you open it. So maybe you could go into your game, create a randomized chest, save it as a structure, and then spawn that?

Last seen on 04:16, 16. May 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ill try it  
Thu, 02/13/2020 - 22:48

Ill try it

 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
actually I think that is not…
Fri, 02/14/2020 - 00:17

actually I think that is not the issue. The issue is update tick is not triggered with blocks generated in the world because that would cause lag. You should just create a randomized chest, place it on the ground, don't open it, and it will be random

Last seen on 04:16, 16. May 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
alright im making a care…
Fri, 02/28/2020 - 15:28

alright im making a care package instead, thanks!

Last seen on 04:16, 16. May 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm UNSMART so i dont know…
Wed, 04/01/2020 - 00:13

I'm UNSMART so i dont know how to close a forum...

 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think you can oof.
Wed, 04/01/2020 - 00:26

I don't think you can oof.

Last seen on 16:23, 18. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe it can be made with…
Fri, 05/01/2020 - 07:37

Maybe it can be made with Client display random tick? I have the same problem.

Last seen on 16:23, 18. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im trying to make mod where…
Fri, 05/01/2020 - 07:41

Im trying to make mod where is a biome that "spreads slowly", the way that those blocks tick slowly, and when they tick then they replace every block around them (expect air, other same blocks and bedrock) with the same block.

Last seen on 04:16, 16. May 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
still can't close a forum
Sun, 08/29/2021 - 23:18

still can't close a forum