Jump to content

[1.7.10]Crash when trying to spawn in biped entity


theOriginalByte

Recommended Posts

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

 

 

Link to comment
Share on other sites

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.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
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.
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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Here's a simple example to solve this particular issue: public class ModArmorMaterials { public static final DeferredRegister<ArmorMaterial> ARMORS = DeferredRegister.create(Registries.ARMOR_MATERIAL, MyModName.MOD_ID); public static final RegistryObject<ArmorMaterial> COPPER = registerArmor("copper", Util.make(new EnumMap<>(ArmorItem.Type.class), enumMap -> { enumMap.put(ArmorItem.Type.BOOTS, 1); enumMap.put(ArmorItem.Type.LEGGINGS, 4); enumMap.put(ArmorItem.Type.CHESTPLATE, 5); enumMap.put(ArmorItem.Type.HELMET, 2); enumMap.put(ArmorItem.Type.BODY, 4); }), 12, SoundEvents.ARMOR_EQUIP_IRON, 0.0F, 0.0F, () -> Ingredient.of(Items.COPPER_INGOT)); private static RegistryObject<ArmorMaterial> registerArmor(String pGroup, EnumMap<ArmorItem.Type, Integer> pEnumMap, int pEnchantmentValue, Holder<SoundEvent> pEquipSound, float pToughness, float pKnockbackResistance, Supplier<Ingredient> pRepairIngredient) { List<ArmorMaterial.Layer> pLayerList = List.of(new ArmorMaterial.Layer(new ResourceLocation(pGroup))); return registerArmor(pGroup, pEnumMap, pEnchantmentValue, pEquipSound, pToughness, pKnockbackResistance, pRepairIngredient, pLayerList); } private static RegistryObject<ArmorMaterial> registerArmor( String pGroup, EnumMap<ArmorItem.Type, Integer> pEnumMap, int pEnchantmentValue, Holder<SoundEvent> pEquipSound, float pToughness, float pKnockbackResistance, Supplier<Ingredient> pRepairIngredient, List<ArmorMaterial.Layer> pLayerList) { return ARMORS.register(pGroup, () -> new ArmorMaterial(pEnumMap, pEnchantmentValue, pEquipSound, pRepairIngredient, pLayerList, pToughness, pKnockbackResistance)); } public static void register(IEventBus eventBus) { ARMORS.register(eventBus); } } Essentially, the TierSortingRegistry has been removed and so you now need to set up your own DeferredRegister. Please see the minecraftforge GitHub for more information; I found this solution through their issues (https://github.com/MinecraftForge/MinecraftForge/issues/9961)
    • How did I even leave that in there? I’ll try it in a bit, that very well could be it.
    • Greetings, I met a problem with my Forge server (47.2.0-1.20.1) that I can't join with the following line. (singleplayer world working fine) [net.minecraft.server.network.ServerGamePacketListenerImpl/]: Sharyna lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null   At first it was errored with packet size error, but I fixed that with the Connectivity mod, however, after that this popped up and can't find the source of it. Since the logs are big, I couldn't upload on paste.gg or other site ... so here it is (if the files are deleted, please notice me and I'll upload again. Debug and Latest log
    • Дерево тис
  • Topics

×
×
  • Create New...

Important Information

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