The Sun is Missing?

Started by raposao6464 on

Topic category: Minecraft mod ideas exchange

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The Sun is Missing?

Hello there. (General Kenobi?)

So I had this crazy idea to do in my mod. It is a super powerful sword that is capable to explode the sun and it stays forever at night in minecraft.

 I'm new in this modding world so I don't know programming very much.

Is this possible? and if so, how should I do it, thanks

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just to give some context,…
Sun, 12/20/2020 - 22:58

Just to give some context, the mod is about mythology and old legends.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can set time in the…
Sun, 12/20/2020 - 23:56

You can set time in the world, so the night thing is easy. Just find the "set time to day/ night" or whatever

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, I see. Do you have any…
Mon, 12/21/2020 - 16:36

Oh, I see. Do you have any ideas of how to do a big explosion when you click to explode the sun?

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Expload at x y+(however much…
Mon, 12/21/2020 - 17:46

Expload at x y+(however much you think is enough) z with power 100 or more

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's actually pretty easy to…
Sat, 12/26/2020 - 08:38

It's actually pretty easy to do. First make the sword, then add an On Right Click procedure that has something like:
If Is day in the provided world
 Do: Play at x: x y: [y+50] z:z level: 10 pitch: 1 sound entity.generic.explode
       Set time to: 16000
       Execute command gamerule doDaylightCycle false at x: x y:y z:z
Then add it to your sword on right click on block and/or on right click on air and you're done.
You could also replace the play at: with Explode at x: x y: 256 z: z with power 100, but this might(will) lag your game and might destroy some blocks.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks a lot man 
Wed, 12/30/2020 - 00:22

Thanks a lot man