Jump to content

Recommended Posts

Posted

Hey, i know you must have much work with 1.8 updates, but i have a small suggestion to make

 

Do you think adding a "Explosion" event would be possible? It would be useful because actually i can't handle the wither skull or firebal griefing

 

In the World class:

    /**
     * returns a new explosion. Does initiation (at time of writing Explosion is not finished)
     */
    public Explosion newExplosion(Entity entity, double x, double y, double z, float power, boolean isFlaming, boolean griefing_world)
    {
        Explosion explosion = new Explosion(this, entity, x, y, z, flame);

        MinecraftForge.EVENT_BUS.post(new WorldEvent.Explosion(explosion )); // Thing like this


        explosion.isFlaming = flame;
        explosion.isSmoking = griefing_world;
        explosion.doExplosionA();
        explosion.doExplosionB(true);
        return explosion;
    }

Posted

Yes because this is the only place explosions are created. This is PEFECT i'll pull it RIGHT NAOI!

-.- Explosions have a dozen or two codepaths that would need to be edited.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Lol sorry I was just suggesting

 

Or maybe add an event to the Explosion object main constructor?

 

Edit: well it is true explosion are kinda messy and appears a bit everywhere in the code

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.