Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.10]Crash when trying to spawn in biped entity
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 2
theOriginalByte

[1.7.10]Crash when trying to spawn in biped entity

By theOriginalByte, August 1, 2015 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

theOriginalByte    7

theOriginalByte

theOriginalByte    7

  • Creeper Killer
  • theOriginalByte
  • Forge Modder
  • 7
  • 181 posts
Posted August 1, 2015

Here is my log:

 

---- Minecraft Crash Report ----
// Don't do that.

Time: 8/1/15 12:54 AM
Description: Unexpected error

java.lang.IllegalStateException: Server tried to update attributes of a non-living entity (actually: EntityCobaltBoat['entity.commumod.cobaltBoat.name'/371056, l='MpServer', x=556.50, y=4.30, z=47.50])
at net.minecraft.client.network.NetHandlerPlayClient.handleEntityProperties(NetHandlerPlayClient.java:1826)
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:241)
at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1694)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1040)
at net.minecraft.client.Minecraft.run(Minecraft.java:962)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)


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

-- Head --
Stacktrace:
at net.minecraft.client.network.NetHandlerPlayClient.handleEntityProperties(NetHandlerPlayClient.java:1826)
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:241)
at net.minecraft.client.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player307'/180, l='MpServer', x=554.88, y=7.46, z=46.19]]
Chunk stats: MultiplayerChunkCache: 625, 625
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options: 
Level spawn location: World: (691,4,48), Chunk: (at 3,0,0 in 43,3; contains blocks 688,0,48 to 703,255,63), Region: (1,0; contains chunks 32,0 to 63,31, blocks 512,0,0 to 1023,255,511)
Level time: 14577 game time, 2386 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: 63 total; [EntityVillager['Villager'/1, l='MpServer', x=551.31, y=4.00, z=12.66], EntityVillager['Villager'/2, l='MpServer', x=551.56, y=4.00, z=-9.53], EntityVillager['Villager'/3, l='MpServer', x=560.09, y=5.00, z=-12.41], EntityVillager['Villager'/4, l='MpServer', x=540.75, y=4.00, z=4.41], EntityVillager['Villager'/5, l='MpServer', x=568.00, y=5.00, z=-10.28], EntityVillager['Villager'/6, l='MpServer', x=549.31, y=4.00, z=12.28], EntityVillager['Villager'/7, l='MpServer', x=558.06, y=5.50, z=5.47], EntityVillager['Villager'/8, l='MpServer', x=568.34, y=5.00, z=1.31], EntityVillager['Villager'/9, l='MpServer', x=549.41, y=4.00, z=8.72], EntityBat['Bat'/10, l='MpServer', x=544.47, y=9.10, z=52.25], EntityHorse['Horse'/11, l='MpServer', x=549.50, y=4.00, z=114.22], EntityVillager['Villager'/14, l='MpServer', x=568.69, y=5.00, z=-9.31], EntityVillager['Villager'/15, l='MpServer', x=560.78, y=5.00, z=-11.34], EntityVillager['Villager'/17, l='MpServer', x=559.94, y=5.00, z=-11.50], EntityVillager['Villager'/16, l='MpServer', x=566.84, y=5.00, z=-10.66], EntityVillager['Villager'/19, l='MpServer', x=564.38, y=4.00, z=1.00], EntityVillager['Villager'/18, l='MpServer', x=559.66, y=5.00, z=-6.69], EntityVillager['Villager'/21, l='MpServer', x=569.38, y=5.00, z=2.13], EntityVillager['Villager'/20, l='MpServer', x=567.31, y=5.00, z=-9.31], EntitySuperbiumGolem['Superbium Golem'/361459, l='MpServer', x=558.50, y=4.00, z=48.50], EntityBat['Bat'/23, l='MpServer', x=607.67, y=9.01, z=23.47], EntityBat['Bat'/22, l='MpServer', x=545.35, y=12.48, z=24.33], EntityVillager['Villager'/25, l='MpServer', x=566.50, y=4.00, z=-0.31], EntityBat['Bat'/24, l='MpServer', x=562.56, y=7.10, z=7.28], EntityVillager['Villager'/27, l='MpServer', x=569.22, y=5.00, z=1.31], EntityVillager['Villager'/26, l='MpServer', x=570.38, y=5.00, z=1.31], EntityVillager['Villager'/29, l='MpServer', x=545.16, y=4.00, z=3.63], EntityVillager['Villager'/28, l='MpServer', x=552.22, y=4.00, z=13.56], EntitySheep['Sheep'/31, l='MpServer', x=572.38, y=4.00, z=98.22], EntityClientPlayerMP['Player307'/180, l='MpServer', x=554.88, y=7.46, z=46.19], EntityChicken['Chicken'/30, l='MpServer', x=576.41, y=4.00, z=83.56], EntityChicken['Chicken'/34, l='MpServer', x=569.66, y=4.00, z=122.28], EntityChicken['Chicken'/32, l='MpServer', x=572.03, y=4.00, z=118.97], EntityCobaltBoat['entity.commumod.cobaltBoat.name'/53653, l='MpServer', x=573.25, y=5.28, z=27.81], EntityHorse['Horse'/33, l='MpServer', x=561.63, y=4.00, z=113.16], EntitySheep['Sheep'/38, l='MpServer', x=581.84, y=4.00, z=88.25], EntityChicken['Chicken'/39, l='MpServer', x=574.56, y=4.00, z=102.56], EntityBat['Bat'/37, l='MpServer', x=539.14, y=4.31, z=4.50], EntitySheep['Sheep'/40, l='MpServer', x=591.19, y=4.00, z=99.13], EntitySheep['Sheep'/41, l='MpServer', x=594.22, y=4.00, z=110.88], EntitySheep['Sheep'/55, l='MpServer', x=598.94, y=4.00, z=32.91], EntityHorse['Donkey'/54, l='MpServer', x=598.88, y=4.00, z=21.03], EntityPig['Pig'/53, l='MpServer', x=594.84, y=4.00, z=12.75], EntityCow['Cow'/52, l='MpServer', x=603.94, y=4.00, z=-3.94], EntityPig['Pig'/59, l='MpServer', x=603.88, y=4.00, z=51.84], EntityHorse['Donkey'/58, l='MpServer', x=599.38, y=4.00, z=51.03], EntityHorse['Donkey'/57, l='MpServer', x=606.97, y=4.00, z=43.03], EntitySheep['Sheep'/56, l='MpServer', x=606.50, y=4.00, z=17.63], EntityChicken['Chicken'/62, l='MpServer', x=610.47, y=4.00, z=119.53], EntitySheep['Sheep'/61, l='MpServer', x=600.03, y=4.00, z=120.06], EntitySheep['Sheep'/60, l='MpServer', x=597.88, y=4.00, z=109.94], EntityPig['Pig'/68, l='MpServer', x=617.19, y=4.00, z=-1.47], EntityBat['Bat'/112681, l='MpServer', x=553.25, y=7.10, z=-10.75], EntityPig['Pig'/69, l='MpServer', x=620.31, y=4.00, z=-8.66], EntitySheep['Sheep'/70, l='MpServer', x=609.47, y=5.00, z=15.47], EntitySheep['Sheep'/71, l='MpServer', x=614.16, y=4.00, z=21.41], EntityAradactiteGolem['Aradactite Golem'/354220, l='MpServer', x=559.13, y=4.00, z=45.84], EntityHorse['Donkey'/72, l='MpServer', x=613.25, y=4.00, z=40.94], EntityPig['Pig'/73, l='MpServer', x=601.88, y=4.00, z=25.94], EntityPig['Pig'/74, l='MpServer', x=602.94, y=4.00, z=60.94], EntitySheep['Sheep'/75, l='MpServer', x=609.88, y=4.00, z=109.75], EntityCow['Cow'/84, l='MpServer', x=628.25, y=5.00, z=-8.94], EntityCobaltBoat['entity.commumod.cobaltBoat.name'/371056, l='MpServer', x=556.50, y=4.30, z=47.50]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2567)
at net.minecraft.client.Minecraft.run(Minecraft.java:991)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Mac OS X (x86_64) version 10.10.4
Java Version: 1.7.0_75, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 847783816 bytes (808 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCHIJAAAA	FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) 
UCHIJAAAA	Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar) 
UCHIJAAAA	commumod{v1.6.0} [Community Mod] (main) 
GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.6.31' Renderer: 'Intel HD Graphics 4000 OpenGL Engine'
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 INTEL-10.6.31, Intel Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
[00:54:35] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/noahk/Desktop/Modding/CommuMod-1.7.10/eclipse/./crash-reports/crash-2015-08-01_00.54.35-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

Process finished with exit code 255

 

Do you have any idea what would cause this?

 

EntityMiner.java

https://github.com/KaminoCoding/CommuMod/blob/hotfix/bug-fix%2317/src/main/java/io/cyb3rwarri0r8/commumod/entity/EntityMiner.java

 

 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6693

diesieben07

diesieben07    6693

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6693
  • 45754 posts
Posted August 1, 2015

Show your code.

  • Quote

Share this post


Link to post
Share on other sites

theOriginalByte    7

theOriginalByte

theOriginalByte    7

  • Creeper Killer
  • theOriginalByte
  • Forge Modder
  • 7
  • 181 posts
Posted August 1, 2015

Show your code.

Whoops.. forgot to add that sorry.

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6693

diesieben07

diesieben07    6693

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6693
  • 45754 posts
Posted August 1, 2015

No.

No.

No.

  • Quote

Share this post


Link to post
Share on other sites

theOriginalByte    7

theOriginalByte

theOriginalByte    7

  • Creeper Killer
  • theOriginalByte
  • Forge Modder
  • 7
  • 181 posts
Posted August 1, 2015

No.

No.

No.

What would be the proper way to do it then? I learned that from tutorials so....

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6693

diesieben07

diesieben07    6693

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6693
  • 45754 posts
Posted August 1, 2015

Just

registerModEntity

, not any of the things I linked to.

  • Quote

Share this post


Link to post
Share on other sites

Choonster    1624

Choonster

Choonster    1624

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1624
  • 5051 posts
Posted August 1, 2015

Don't you still need a global ID if you want an egg for the entity? Recent versions of Forge for 1.8 removed this requirement, but I don't think it was backported to 1.7.10.

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6693

diesieben07

diesieben07    6693

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6693
  • 45754 posts
Posted August 1, 2015

Don't make a vanilla entity-egg then, make your own Items. Global IDs are a horrible idea.

  • Quote

Share this post


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.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 2
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • BeardlessBrady
      [1.12.2] NBT inconsistencies

      By BeardlessBrady · Posted 5 minutes ago

      Yes it seems the tile entity method #writeToNBT is acting the same way
    • diesieben07
      [1.12.2] NBT inconsistencies

      By diesieben07 · Posted 16 minutes ago

      Did you verify your tile entity was being saved? Or just the custom item?
    • BeardlessBrady
      [1.12.2] NBT inconsistencies

      By BeardlessBrady · Posted 17 minutes ago

      I was not, I added it to all the places I change the data and it did not change the issue unfortunately. 
    • diesieben07
      [1.12.2] NBT inconsistencies

      By diesieben07 · Posted 24 minutes ago

      Are you calling markDirty on your tile entity whenever you change it's data?
    • BeardlessBrady
      [1.12.2] NBT inconsistencies

      By BeardlessBrady · Posted 30 minutes ago

      I tried debugging the #toNBT and #fromNBT methods in my itemVendor class. It seems to only save the NBT when I pause the game for the very first time after first placing the block but when I quit the world it does not save the NBT nor does it do it when I pause any other time. It will however save NBT and load NBT on world startup... Any ideas?
  • Topics

    • BeardlessBrady
      8
      [1.12.2] NBT inconsistencies

      By BeardlessBrady
      Started Yesterday at 04:12 AM

    • Baconator
      4
      pw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: rock

      By Baconator
      Started 4 hours ago

    • BruhSoundEffectNumberTwo
      1
      [SOLVED] [1.14.4] How do I read a Jsonarray from a file?

      By BruhSoundEffectNumberTwo
      Started 1 hour ago

    • plugsmustard
      6
      JSON questions

      By plugsmustard
      Started Yesterday at 07:28 PM

    • meloncin
      1
      forge no me funciona

      By meloncin
      Started 3 hours ago

  • Who's Online (See full list)

    • BeardlessBrady
    • F43nd1r
    • Draco18s
    • BruhSoundEffectNumberTwo
    • diesieben07
    • plugsmustard
    • BatHeart
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.10]Crash when trying to spawn in biped entity
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community