How to make a sphere!(A tutorial)

Started by cuckoo on

Topic category: User side tutorials

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!

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?

 

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.

 

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 ?

 

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?

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