Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ranged Attribute Error - What is causing this?


Recommended Posts

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:

 

 

Unreported exception thrown!

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

at net.minecraft.entity.ai.attributes.RangedAttribute.<init>(RangedAttribute.java:22) ~[RangedAttribute.class:?]

at net.minecraft.client.network.NetHandlerPlayClient.handleEntityProperties(NetHandlerPlayClient.java:1834) ~[NetHandlerPlayClient.class:?]

at net.minecraft.network.play.server.S20PacketEntityProperties.processPacket(S20PacketEntityProperties.java:96) ~[s20PacketEntityProperties.class:?]

at net.minecraft.network.play.server.S20PacketEntityProperties.processPacket(S20PacketEntityProperties.java:104) ~[s20PacketEntityProperties.class:?]

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:242) ~[NetworkManager.class:?]

at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:339) ~[PlayerControllerMP.class:?]

at net.minecraft.client.Minecraft.runTick(Minecraft.java:1689) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1036) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

---- Minecraft Crash Report ----

// Oh - I know what I did wrong!

 

Time: 5/27/14 3:47 PM

Description: Unexpected error

 

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

at net.minecraft.entity.ai.attributes.RangedAttribute.<init>(RangedAttribute.java:22)

at net.minecraft.client.network.NetHandlerPlayClient.handleEntityProperties(NetHandlerPlayClient.java:1834)

at net.minecraft.network.play.server.S20PacketEntityProperties.processPacket(S20PacketEntityProperties.java:96)

at net.minecraft.network.play.server.S20PacketEntityProperties.processPacket(S20PacketEntityProperties.java:104)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:242)

at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:339)

at net.minecraft.client.Minecraft.runTick(Minecraft.java:1689)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1036)

at net.minecraft.client.Minecraft.run(Minecraft.java:951)

at net.minecraft.client.main.Main.main(Main.java:112)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at net.minecraft.entity.ai.attributes.RangedAttribute.<init>(RangedAttribute.java:22)

at net.minecraft.client.network.NetHandlerPlayClient.handleEntityProperties(NetHandlerPlayClient.java:1834)

at net.minecraft.network.play.server.S20PacketEntityProperties.processPacket(S20PacketEntityProperties.java:96)

at net.minecraft.network.play.server.S20PacketEntityProperties.processPacket(S20PacketEntityProperties.java:104)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:242)

at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:339)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player390'/110, l='MpServer', x=221.50, y=68.52, z=264.50]]

Chunk stats: MultiplayerChunkCache: 85, 85

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (228,64,256), Chunk: (at 4,4,0 in 14,16; contains blocks 224,0,256 to 239,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 22 game time, 22 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 54 total; [EntityBat['Bat'/821, l='MpServer', x=178.07, y=16.41, z=208.85], EntityFallingBlock['Falling Block'/1102, l='MpServer', x=134.50, y=9.34, z=221.50], EntityZombie['Zombie'/1103, l='MpServer', x=143.50, y=28.00, z=202.50], EntityZombie['Zombie'/141, l='MpServer', x=158.78, y=37.00, z=238.50], EntityCreeper['Creeper'/142, l='MpServer', x=161.50, y=37.00, z=236.50], EntityCreeper['Creeper'/948, l='MpServer', x=168.50, y=30.00, z=230.50], EntityItem['item.tile.rail'/8, l='MpServer', x=166.88, y=32.13, z=225.72], EntityItem['item.tile.flower1.dandelion'/9, l='MpServer', x=184.84, y=11.05, z=231.41], EntityItem['item.tile.flower1.dandelion'/10, l='MpServer', x=186.31, y=11.13, z=230.13], EntityPig['Pig'/11, l='MpServer', x=217.78, y=68.00, z=197.91], EntityZombie['Zombie'/133, l='MpServer', x=187.50, y=24.00, z=207.50], EntityPig['Pig'/12, l='MpServer', x=220.50, y=67.00, z=196.50], EntityPig['Pig'/13, l='MpServer', x=216.03, y=68.00, z=199.81], EntityPig['Pig'/14, l='MpServer', x=217.66, y=68.00, z=199.81], EntityZombie['Zombie'/134, l='MpServer', x=183.50, y=24.00, z=210.50], EntityBushBaby['Bush Baby'/17, l='MpServer', x=223.22, y=67.00, z=185.47], EntityFallingBlock['Falling Block'/1117, l='MpServer', x=131.50, y=9.38, z=221.50], EntityFallingBlock['Falling Block'/1116, l='MpServer', x=134.50, y=9.38, z=220.50], EntityFallingBlock['Falling Block'/1119, l='MpServer', x=132.50, y=10.38, z=220.50], EntityFallingBlock['Falling Block'/1118, l='MpServer', x=132.50, y=8.38, z=222.50], EntityFallingBlock['Falling Block'/1113, l='MpServer', x=133.50, y=8.38, z=222.50], EntityFallingBlock['Falling Block'/1112, l='MpServer', x=132.50, y=9.38, z=221.50], EntityFallingBlock['Falling Block'/1115, l='MpServer', x=133.50, y=10.38, z=220.50], EntityFallingBlock['Falling Block'/1114, l='MpServer', x=133.50, y=9.38, z=221.50], EntityFallingBlock['Falling Block'/1111, l='MpServer', x=134.50, y=10.42, z=221.50], EntitySheep['Sheep'/34, l='MpServer', x=248.50, y=69.00, z=189.22], EntitySheep['Sheep'/35, l='MpServer', x=248.50, y=69.00, z=190.81], EntityPig['Pig'/38, l='MpServer', x=265.50, y=63.00, z=304.22], EntityPig['Pig'/39, l='MpServer', x=265.50, y=63.00, z=305.81], EntitySheep['Sheep'/36, l='MpServer', x=251.50, y=69.00, z=192.50], EntitySheep['Sheep'/37, l='MpServer', x=249.50, y=69.00, z=195.50], EntityFallingBlock['Falling Block'/1126, l='MpServer', x=131.50, y=10.38, z=219.50], EntityPig['Pig'/40, l='MpServer', x=264.50, y=64.00, z=301.50], EntityFallingBlock['Falling Block'/1124, l='MpServer', x=130.50, y=9.38, z=219.50], EntityPig['Pig'/41, l='MpServer', x=266.50, y=67.00, z=297.50], EntityFallingBlock['Falling Block'/1125, l='MpServer', x=130.50, y=9.38, z=220.50], EntityFallingBlock['Falling Block'/1122, l='MpServer', x=132.50, y=10.38, z=219.50], EntitySkeleton['Skeleton'/521, l='MpServer', x=212.50, y=22.00, z=199.50], EntityFallingBlock['Falling Block'/1123, l='MpServer', x=133.50, y=10.38, z=219.50], EntitySkeleton['Skeleton'/522, l='MpServer', x=209.50, y=22.00, z=201.50], EntityFallingBlock['Falling Block'/1120, l='MpServer', x=135.50, y=8.38, z=221.50], EntityFallingBlock['Falling Block'/1121, l='MpServer', x=131.50, y=10.38, z=220.50], EntityPig['Pig'/53, l='MpServer', x=298.50, y=63.00, z=269.50], EntityPig['Pig'/52, l='MpServer', x=301.50, y=64.00, z=271.50], EntityZombie['Zombie'/661, l='MpServer', x=156.50, y=42.00, z=243.50], EntityCreeper['Creeper'/659, l='MpServer', x=161.50, y=42.00, z=243.50], EntityBat['Bat'/614, l='MpServer', x=189.98, y=28.76, z=194.37], EntityBat['Bat'/615, l='MpServer', x=190.75, y=28.51, z=197.35], EntityBat['Bat'/613, l='MpServer', x=191.66, y=28.50, z=195.25], EntityClientPlayerMP['Player390'/110, l='MpServer', x=221.50, y=68.52, z=264.50], EntitySkeleton['Skeleton'/833, l='MpServer', x=279.50, y=36.00, z=301.50], EntitySkeleton['Skeleton'/597, l='MpServer', x=145.50, y=32.00, z=242.50], EntitySkeleton['Skeleton'/598, l='MpServer', x=142.50, y=32.00, z=243.50], EntitySkeleton['Skeleton'/1078, l='MpServer', x=158.50, y=16.00, z=185.50]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:418)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2557)

at net.minecraft.client.Minecraft.run(Minecraft.java:980)

at net.minecraft.client.main.Main.main(Main.java:112)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

 

 

Link to post
Share on other sites

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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites
  • 1 year later...

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.