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

at mysticrealm.common.world.biomes.MysticBiomeDecorator.decorate(MysticBiomeDecorator.java:63)

 

okay lets look at line 63:

var5.setScale(1.0D, 1.0D, 1.0D);

 

hmm what is var5? on line 62:

WorldGenerator var5 = this.biome.getRandomWorldGenForTrees(this.randomGenerator);

 

 

For some reason the value of var5 on line 63 is null, thats what the error message is saying.

So why is it null, if we look at the call on line 62 it should be instanciated but it's not.

So from the stacktrace and code we can deduce that the error is with line 62.

 

Set a breakpoint at line 62 and check what happends, I'm sure the getRandomWorldGenForTrees is returning null for some reason.

If you guys dont get it.. then well ya.. try harder...

  • Author

After stepping into the break point it led to this part of MysticBiomeGenBase.java:

 

MysticWorldGenTrees worldMysticGenTrees;
@Override
    public WorldGenerator getRandomWorldGenForTrees(Random par1)
    {
        return this.worldMysticGenTrees;
    }

 

 

and here is MysticWorldGenTrees.java:

http://paste.ubuntu.com/5585309/

Yeah it lead to that part where it returned something.. But what was that value at that specific time?

 

If you guys dont get it.. then well ya.. try harder...

  • Author

Yeah it lead to that part where it returned something.. But what was that value at that specific time?

 

I don't know what you mean, but

this.biome.getRandomWorldGenForTrees(this.randomGenerator)

leads to net.minecraft.world.biome.BiomeGenBase.getRandomWorldGenForTrees(Random par1Random)

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...

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.