Jump to content

Recommended Posts

Posted

So I got the error pasted below quite a bit lately [random when generating a world] and I don't know what causes it or how to fix it.

 

The error:

 

  Reveal hidden contents

 

 

Posted

java.lang.IllegalArgumentException: Default value cannot be lower than minimum value!

That pretty much says it all right there; whatever ranged attribute you added / changed, you have either an invalid default value or you set the minimum value incorrectly. Ranged attributes are things like attackDamage, movementSpeed, maxHealth, etc.

Posted
  On 5/28/2014 at 3:38 AM, coolAlias said:

java.lang.IllegalArgumentException: Default value cannot be lower than minimum value!

That pretty much says it all right there; whatever ranged attribute you added / changed, you have either an invalid default value or you set the minimum value incorrectly. Ranged attributes are things like attackDamage, movementSpeed, maxHealth, etc.

I see, I'm not sure what is causing it though considering it happens on world creation. I also don't have any mobs that should be spawning.

Posted
  On 5/28/2014 at 3:25 PM, coolAlias said:

If you posted the full log, we could see where the error was happening - it is probably after the world has already finished generating, but the player is trying to join. Did you change or add any attributes for the player, such as in IExtendedEntityProperties?

I haven't touched any of those player properties, I also went through all mobs [mine and Vanilla], none of them are an issue.

 

I'll go back through my logs as soon as I get home in a couple hours and post the full thing.

 

edit: I think I might know what is causing it. It seems one of my mobs was spawned in all the different occurrences, so I'm going to look into that.  The mob itself works fine, but it seems it might have Overriden the Horse ID [in spawn code, even though it's a registered mod entity].

  • 1 year later...
Posted
  On 5/28/2014 at 3:38 AM, coolAlias said:

java.lang.IllegalArgumentException: Default value cannot be lower than minimum value!

That pretty much says it all right there; whatever ranged attribute you added / changed, you have either an invalid default value or you set the minimum value incorrectly. Ranged attributes are things like attackDamage, movementSpeed, maxHealth, etc.

 

I am having the same problem and I think that in my case it is my own TiC Heart Cannister. I will test this later today.

If someone is having trouble finding out what attribute is causing this, use NBT-Explorer to open your player.dat file.

This is my player.dat file.

 

Note: This is the first occurrence of this crash that Google found, so solving it here may actually help people. Necroing/bumping this thread is merely a side effect of this.

I walk amongst titans.

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.