[Resolved] How to make blocks that emit particles

Started by Mymann on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Resolved] How to make blocks that emit particles
Fri, 04/11/2025 - 14:59 (edited)

I want this block to constantly produce Villager Happy particles around its vicinity once placed in the world, can someone compose a procedure for that?

 

THANKS FOR READING!!!

Edited by Mymann on Fri, 04/11/2025 - 14:59
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
enable ticking for the block…
Thu, 04/10/2025 - 17:19

enable ticking for the block and use the on tick update trigger in it to 

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried it but it just seems…
Thu, 04/10/2025 - 23:59

I tried it but it just seems that the particles don't work for some reasons, this is my setup, the procedure is set to On Update Tick trigger for the block:
https://imgur.com/a/cfioKr2

 

This is for Mcreator 2024.2

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Correction: It does sort of…
Fri, 04/11/2025 - 00:08

Correction: It does sort of work, but only for one time when you first logged in, and it stopped for good.

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove the "tick randomly",…
Fri, 04/11/2025 - 07:43

Remove the "tick randomly", that's probably interfering with the constant tick every second. 

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, your idea worked,…
Fri, 04/11/2025 - 08:32

Thank you, your idea worked, however, I do have another problem, if you set the particles area to 0 by default, then the particle will only generate in a single point on the block's corner, and the corner will be different with each rotation (this block uses the rotation of the chest). 

This means, that the particles aren't being generated in the dead center of the block, and the particle area is always off by a couple of millimeters, how can I make it so the particles will generate in the very center 100% of the time, with each rotation?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try adding 0.5 to x, y, and z
Fri, 04/11/2025 - 12:45

try adding 0.5 to x, y, and z

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you also, it worked…
Fri, 04/11/2025 - 15:00

Thank you also, it worked and now I can pin the center point of the block that I want the radius to generate around.