How to make a sphere!(A tutorial)

Started by cuckoo on Wed, 10/05/2022 - 14:10

Topic category: User side tutorials

Last seen on 12:10, 8. Nov 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a sphere!(A tutorial)
Wed, 10/05/2022 - 14:10

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 13:29, 3. Dec 2022
Joined Feb 2021
Points:

User statistics:

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

Can work with particles?

 

Last seen on 17:51, 3. Nov 2022
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.