Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I suggest you check enderdragon class out, probably in a onDeath() method or something like that

 

if (this.health <= 0)

        {

            var1 = (this.rand.nextFloat() - 0.5F) * 8.0F;

            var26 = (this.rand.nextFloat() - 0.5F) * 4.0F;

            var3 = (this.rand.nextFloat() - 0.5F) * 8.0F;

            this.worldObj.spawnParticle("largeexplode", this.posX + (double)var1, this.posY + 2.0D + (double)var26, this.posZ + (double)var3, 0.0D, 0.0D, 0.0D);

        }

 

thats what I found in EntityDragon

  • Author

Hmm that didn't help much. That part of the code has nothing related to the rendering of the light beams. I'm trying to achieve an effect like in Thaumcraft's Singularity ball explosion thing where it uses the ender dragon dying light beam effects...

 

EDIT: Found it. RenderDragon.

Guest
This topic is now closed to further replies.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.