How to make a sphere!(A tutorial)

Started by cuckoo on

Topic category: User side tutorials

Last seen on 15:52, 24. Feb 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a sphere!(A tutorial)

Hello, So there's a lot of sphere but most if not all is asking how to make one, So after half and hour of scouring the internet, I implemented it in mcreator, and heres the full tutorial! Enjoy.

Firstly add a procedure, Name it what ever you want;

image 1, create a procedure

Next close the save the mod element. Then select on your procedure and click edit code

click the button with alot of textline and a pencil

It should open a new window, now from this step on, Just follow me closely

a code editor window

Import these 4;

 import net.minecraft.world.level.LevelAccessor; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.Blocks; import net.minecraft.core.BlockPos;

Then on here , You see this execute??

public static void execute() { 	} }

Replace it with this;

https://pastebin.com/vpX3seut

Now your code should look overall something like this;

And you're done, Now this explosion is quite large I suggest you to experiment with the radius variable!

Last seen on 03:52, 28. Jul 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can work with particles?  
Tue, 10/11/2022 - 19:19

Can work with particles?

 

Last seen on 11:35, 21. Mar 2023
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have to edit blocks code…
Thu, 11/03/2022 - 17:51

You have to edit blocks code too to make it work.

 

Last seen on 18:17, 3. Jul 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you give more precision …
Fri, 01/20/2023 - 12:00

Can you give more precision ? Cause how are we supposed to use the procedure if we cant link it ?

 

Last seen on 16:07, 28. Apr 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have followed these steps,…
Sun, 04/16/2023 - 12:48

I have followed these steps, when I try to call the procedure in my explosive entity. I receive this error:

Image

Has anyone got a solution to this?

Last seen on 16:07, 28. Apr 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have just installed an…
Sun, 04/16/2023 - 13:47

I have just installed an tested the plugin,
IT IS AMAZING!!!
Thank you so much Marwinekk256
+REP