Jump to content

Recommended Posts

Posted (edited)

Hi, this is my first time tackling custom mobs and the game is crashing when the game has to render my custom mob.

 

Here is the crash report:

[01:18:36] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@10e51ac0[id=8b8434b7-4246-3db8-89e4-a51a52bc8fc9,name=Player882,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
	at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?]
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
	at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?]
	at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3056) [Minecraft.class:?]
	at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_131]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[01:18:38] [Server thread/INFO]: Player882 has just earned the achievement [Taking Inventory]
[01:18:38] [Client thread/INFO]: [CHAT] Player882 has just earned the achievement [Taking Inventory]
[01:18:43] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2044ms behind, skipping 40 tick(s)
[01:18:45] [Client thread/ERROR]: Couldn't render entity
java.lang.NullPointerException
	at net.minecraft.client.renderer.entity.Render.bindTexture(Render.java:130) ~[Render.class:?]
	at net.minecraft.client.renderer.entity.Render.bindEntityTexture(Render.java:123) ~[Render.class:?]
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderModel(RenderLivingBase.java:249) ~[RenderLivingBase.class:?]
	at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:181) [RenderLivingBase.class:?]
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51) [RenderLiving.class:?]
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16) [RenderLiving.class:?]
	at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389) [RenderManager.class:?]
	at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373) [RenderManager.class:?]
	at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653) [RenderGlobal.class:?]
	at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389) [EntityRenderer.class:?]
	at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303) [EntityRenderer.class:?]
	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) [EntityRenderer.class:?]
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
[01:18:46] [Server thread/INFO]: Stopping server
[01:18:46] [Server thread/INFO]: Saving players
[01:18:46] [Server thread/INFO]: Saving worlds
[01:18:46] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[01:18:47] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[01:18:47] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[01:18:47] [Server thread/INFO] [FML]: Unloading dimension 0
[01:18:47] [Server thread/INFO] [FML]: Unloading dimension -1
[01:18:47] [Server thread/INFO] [FML]: Unloading dimension 1
[01:18:47] [Server thread/INFO] [FML]: Applying holder lookups
[01:18:47] [Server thread/INFO] [FML]: Holder lookups applied
[01:18:48] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Rendering entity in world
	at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:431) ~[RenderManager.class:?]
	at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373) ~[RenderManager.class:?]
	at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653) ~[RenderGlobal.class:?]
	at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389) ~[EntityRenderer.class:?]
	at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303) ~[EntityRenderer.class:?]
	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) ~[EntityRenderer.class:?]
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) ~[Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.NullPointerException
	at net.minecraft.client.renderer.entity.RenderLivingBase.canRenderName(RenderLivingBase.java:529) ~[RenderLivingBase.class:?]
	at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:26) ~[RenderLiving.class:?]
	at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:16) ~[RenderLiving.class:?]
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:484) ~[RenderLivingBase.class:?]
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:25) ~[RenderLivingBase.class:?]
	at net.minecraft.client.renderer.entity.Render.doRender(Render.java:67) ~[Render.class:?]
	at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:208) ~[RenderLivingBase.class:?]
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51) ~[RenderLiving.class:?]
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16) ~[RenderLiving.class:?]
	at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389) ~[RenderManager.class:?]
	... 20 more
[01:18:48] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
// I'm sorry, Dave.

Time: 7/10/17 1:18 AM
Description: Rendering entity in world

java.lang.NullPointerException: Rendering entity in world
	at net.minecraft.client.renderer.entity.RenderLivingBase.canRenderName(RenderLivingBase.java:529)
	at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:26)
	at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:16)
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:484)
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:25)
	at net.minecraft.client.renderer.entity.Render.doRender(Render.java:67)
	at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:208)
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51)
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16)
	at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389)
	at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373)
	at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653)
	at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389)
	at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303)
	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140)
	at net.minecraft.client.Minecraft.run(Minecraft.java:407)
	at net.minecraft.client.main.Main.main(Main.java:118)
	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:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)


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

-- Head --
Thread: Client thread
Stacktrace:
	at net.minecraft.client.renderer.entity.RenderLivingBase.canRenderName(RenderLivingBase.java:529)
	at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:26)
	at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:16)
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:484)
	at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:25)
	at net.minecraft.client.renderer.entity.Render.doRender(Render.java:67)
	at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:208)
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51)
	at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16)

-- Entity being rendered --
Details:
	Entity Type: minecraft:chimera (com.ninja3659.explorationexpansion.entitites.EntityChimera)
	Entity ID: 348
	Entity Name: entity.Chimera.name
	Entity's Exact location: 242.50, 64.00, 221.50
	Entity's Block location: World: (242,64,221), Chunk: (at 2,4,13 in 15,13; contains blocks 240,0,208 to 255,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Entity's Momentum: 0.00, 0.00, 0.00
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null

-- Renderer details --
Details:
	Assigned renderer: com.ninja3659.explorationexpansion.renders.RenderChimera@493c0ba8
	Location: -2.50,0.00,0.60 - World: (-3,0,0), Chunk: (at 13,0,0 in -1,0; contains blocks -16,0,0 to -1,255,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Rotation: 42.1875
	Delta: 0.1636647
Stacktrace:
	at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389)
	at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373)
	at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653)
	at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389)
	at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [EntityPlayerSP['Player882'/258, l='MpServer', x=245.00, y=64.00, z=220.90]]
	Chunk stats: MultiplayerChunkCache: 482, 482
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (240,64,212), Chunk: (at 0,4,4 in 15,13; contains blocks 240,0,208 to 255,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 1009 game time, 1009 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: 69 total; [EntityPlayerSP['Player882'/258, l='MpServer', x=245.00, y=64.00, z=220.90], EntityCreeper['Creeper'/133, l='MpServer', x=280.50, y=22.00, z=174.50], EntityChicken['Chicken'/134, l='MpServer', x=284.47, y=73.00, z=168.82], EntityChicken['Chicken'/135, l='MpServer', x=274.50, y=73.00, z=189.50], EntityChicken['Chicken'/136, l='MpServer', x=276.34, y=73.00, z=184.44], EntityChicken['Chicken'/137, l='MpServer', x=276.80, y=73.00, z=185.92], EntityBat['Bat'/138, l='MpServer', x=285.50, y=44.52, z=235.87], EntityBat['Bat'/139, l='MpServer', x=285.25, y=44.06, z=236.25], EntityZombie['Zombie'/140, l='MpServer', x=284.50, y=45.00, z=246.50], EntityCreeper['Creeper'/141, l='MpServer', x=284.47, y=44.00, z=243.36], EntityCreeper['Creeper'/142, l='MpServer', x=284.30, y=45.00, z=245.57], EntityCreeper['Creeper'/143, l='MpServer', x=273.50, y=24.00, z=260.50], EntitySquid['Squid'/145, l='MpServer', x=288.73, y=57.80, z=278.49], EntityCreeper['Creeper'/148, l='MpServer', x=293.51, y=12.00, z=150.22], EntityEnderman['Enderman'/149, l='MpServer', x=300.29, y=25.00, z=168.30], EntitySkeleton['Skeleton'/150, l='MpServer', x=300.59, y=25.00, z=168.95], EntityPig['Pig'/151, l='MpServer', x=300.23, y=74.00, z=168.30], EntitySpider['Spider'/152, l='MpServer', x=297.30, y=13.10, z=190.30], EntityZombie['Zombie'/153, l='MpServer', x=296.50, y=15.00, z=190.50], EntityCreeper['Creeper'/154, l='MpServer', x=293.50, y=15.00, z=191.50], EntitySkeleton['Skeleton'/155, l='MpServer', x=290.55, y=25.00, z=191.69], EntityPig['Pig'/156, l='MpServer', x=300.50, y=75.00, z=179.50], EntityPig['Pig'/157, l='MpServer', x=290.72, y=74.00, z=179.66], EntityPig['Pig'/158, l='MpServer', x=298.54, y=75.00, z=179.76], EntitySkeleton['Skeleton'/159, l='MpServer', x=283.70, y=35.03, z=199.23], EntityZombie['Zombie'/160, l='MpServer', x=292.28, y=23.00, z=196.52], EntitySkeleton['Skeleton'/161, l='MpServer', x=290.49, y=27.00, z=203.21], EntityCreeper['Creeper'/162, l='MpServer', x=295.51, y=18.00, z=196.21], EntitySlime['Slime'/164, l='MpServer', x=320.85, y=27.09, z=172.60], EntityCreeper['Creeper'/165, l='MpServer', x=307.46, y=39.00, z=201.82], EntityCreeper['Creeper'/166, l='MpServer', x=304.61, y=39.00, z=214.82], EntitySkeleton['Skeleton'/38, l='MpServer', x=172.77, y=52.00, z=260.53], EntitySkeleton['Skeleton'/167, l='MpServer', x=305.50, y=43.00, z=216.50], EntityCreeper['Creeper'/168, l='MpServer', x=312.58, y=47.00, z=256.19], EntityCreeper['Creeper'/178, l='MpServer', x=324.18, y=13.00, z=186.48], EntityBat['Bat'/179, l='MpServer', x=324.52, y=39.10, z=176.71], EntitySkeleton['Skeleton'/55, l='MpServer', x=189.50, y=19.00, z=244.50], EntitySkeleton['Skeleton'/56, l='MpServer', x=189.50, y=19.00, z=246.50], EntitySkeleton['Skeleton'/57, l='MpServer', x=182.85, y=47.00, z=252.46], EntitySkeleton['Skeleton'/58, l='MpServer', x=176.50, y=54.00, z=268.50], EntitySquid['Squid'/59, l='MpServer', x=192.34, y=62.52, z=258.70], EntitySquid['Squid'/64, l='MpServer', x=201.57, y=53.26, z=173.27], EntitySquid['Squid'/65, l='MpServer', x=202.96, y=46.00, z=177.43], EntitySquid['Squid'/66, l='MpServer', x=205.46, y=59.52, z=183.63], EntitySquid['Squid'/67, l='MpServer', x=211.65, y=58.65, z=181.37], EntitySquid['Squid'/68, l='MpServer', x=208.60, y=52.18, z=201.60], EntitySquid['Squid'/69, l='MpServer', x=200.40, y=48.00, z=204.60], EntitySquid['Squid'/70, l='MpServer', x=200.20, y=61.98, z=263.45], EntitySquid['Squid'/71, l='MpServer', x=207.90, y=58.75, z=260.34], EntitySquid['Squid'/72, l='MpServer', x=206.14, y=60.69, z=278.00], EntitySquid['Squid'/79, l='MpServer', x=214.08, y=55.00, z=191.60], EntitySquid['Squid'/80, l='MpServer', x=207.60, y=48.98, z=192.01], EntityZombie['Zombie'/81, l='MpServer', x=221.50, y=26.00, z=240.50], EntitySquid['Squid'/82, l='MpServer', x=202.74, y=61.69, z=270.33], EntitySquid['Squid'/83, l='MpServer', x=207.79, y=57.31, z=286.94], EntityZombie['Zombie'/90, l='MpServer', x=235.50, y=36.00, z=294.61], EntityCreeper['Creeper'/91, l='MpServer', x=236.50, y=37.00, z=293.50], EntityChimera['entity.Chimera.name'/348, l='MpServer', x=242.50, y=64.00, z=221.50], EntityZombie['Zombie'/103, l='MpServer', x=240.22, y=13.00, z=193.55], EntityBat['Bat'/104, l='MpServer', x=254.75, y=26.10, z=251.43], EntitySquid['Squid'/105, l='MpServer', x=252.31, y=61.40, z=257.36], EntitySkeleton['Skeleton'/106, l='MpServer', x=243.79, y=22.00, z=263.56], EntityBat['Bat'/107, l='MpServer', x=239.25, y=24.10, z=250.25], EntityZombie['Zombie'/116, l='MpServer', x=264.30, y=30.00, z=142.14], EntityBat['Bat'/121, l='MpServer', x=271.25, y=41.10, z=180.75], EntityCreeper['Creeper'/122, l='MpServer', x=260.44, y=28.00, z=195.80], EntityBat['Bat'/123, l='MpServer', x=257.62, y=31.06, z=199.59], EntitySkeleton['Skeleton'/124, l='MpServer', x=262.71, y=20.00, z=256.50], EntityCreeper['Creeper'/125, l='MpServer', x=271.50, y=24.00, z=264.50]]
	Retry entities: 0 total; []
	Server brand: fml,forge
	Server type: Integrated singleplayer server
Stacktrace:
	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456)
	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2774)
	at net.minecraft.client.Minecraft.run(Minecraft.java:428)
	at net.minecraft.client.main.Main.main(Main.java:118)
	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:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
	Minecraft Version: 1.11.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_131, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 700527696 bytes (668 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	FML: MCP 9.38 Powered by Forge 13.20.1.2393 5 mods loaded, 5 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
	UCHIJAAAA	minecraft{1.11.2} [Minecraft] (minecraft.jar) 
	UCHIJAAAA	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
	UCHIJAAAA	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2393.jar) 
	UCHIJAAAA	forge{13.20.1.2393} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2393.jar) 
	UCHIJAAAA	neem{1.0-alpha} [Exploration Expansion] (bin) 
	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 21.20.16.4550' Renderer: 'Intel(R) HD Graphics 520'
	Launched Version: 1.11.2
	LWJGL: 2.9.4
	OpenGL: Intel(R) HD Graphics 520 GL version 4.4.0 - Build 21.20.16.4550, Intel
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	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)
	CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
[01:18:48] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\JEHan\Desktop\Exploration Expanded\run\.\crash-reports\crash-2017-07-10_01.18.48-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

When I run this line in the Client Proxy

		RenderingRegistry.registerEntityRenderingHandler(EntityChimera.class, new RenderChimera(new ModelChimera(), .5F));

it causes the game to crash whenever the game has to render the model. But without it, the model is just a big white cube in-game. 

 

Here is my ModEntities class just in case

package com.ninja3659.explorationexpansion.init;

import com.ninja3659.explorationexpansion.ExplorationExpansion;
import com.ninja3659.explorationexpansion.entitites.EntityChimera;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;


public class ModEntities {
	
	public static void init() {
		//id of mob local to this mod
		int id =1;
		EntityRegistry.registerModEntity(new ResourceLocation("chimera"), EntityChimera.class, "Chimera", id++, ExplorationExpansion.instace, 64, 3, true, 0xF5C56B, 0xC43232);
	}
	
}

 

And my RenderChimera Class

package com.ninja3659.explorationexpansion.renders;

import javax.annotation.Nonnull;

import com.ninja3659.explorationexpansion.Reference;
import com.ninja3659.explorationexpansion.entitites.EntityChimera;

import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelChicken;
import net.minecraft.client.model.ModelZombie;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLeashKnot;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.gen.ChunkProviderSettings.Factory;
import net.minecraftforge.fml.client.registry.IRenderFactory;

public class RenderChimera extends RenderLiving{
	
	protected ResourceLocation chimeraTextures;
	
	public RenderChimera(ModelBase model, float shadowsize) {
		super(Minecraft.getMinecraft().getRenderManager(), model, shadowsize);
		setEntityTexture();
	}
	
	protected void setEntityTexture() {
		chimeraTextures = new ResourceLocation(Reference.MOD_ID+"textures/entity/chimera/chimera.png");
	}
	
	protected ResourceLocation func_180572_a(EntityChimera entity) {
		return chimeraTextures;
	}
	
	protected ResourceLocation getEntityTexture(Entity entity) {
		return this.func_180572_a((EntityChimera)entity);
	}
}	

 

Edited by GooberGunter
Posted (edited)

It looks like the RenderManager instance was null when you created the RenderChimera instance, probably because you did this too early.

 

RenderingRegistry.registerEntityRenderingHandler(Class<? extends Entity>, Render<? extends Entity>) is deprecated, use RenderingRegistry.registerEntityRenderingHandler(Class<T>, IRenderFactory<? super T>) in preInit instead.

 

The IRenderFactory#createRenderFor method will be called with the RenderManager instance and needs to create and return your Render instance. You can use a lambda or constructor method reference to implement IRenderFactory.

 

RenderLiving is a generic type, you need to specify the type argument.

 

Always annotate override methods with @Override so you get a compilation error if they don't actually override a super method. You should use your IDE to auto-generate override methods with the correct signature and annotation.

 

You're creating a ResourceLocation with minecraft as the domain and your mod ID and texture path as the path, which is incorrect. Either use the ResourceLocation(String, String) constructor or separate the domain and path with a colon.

Edited by Choonster
  • Like 1

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.

Posted (edited)

Thanks so much for the help, it doesn't crash anymore, but now the model is invisible:

 

current entityregistry:

public class ModEntities {
	
	public static void init() {
		//id of mob local to this mod
		int entityID = 1;
		EntityRegistry.registerModEntity(new ResourceLocation("neem:chimera"), EntityChimera.class, "Chimera", ++entityID, ExplorationExpansion.instace, 64, 3, true, 0xF5C56B, 0xC43232);
	}
	
}

 

updated RenderRegistry:

RenderingRegistry.registerEntityRenderingHandler(EntityChimera.class, new IRenderFactory<EntityChimera>() {

			@Override
			public Render<? super EntityChimera> createRenderFor(RenderManager manager) {
				return new RenderChimera(manager);
			}
		
		
		});

 

It looks like the compiler is still treating the chimera as a minecraft entity instead of an entity in my mod, how do I change this?

I know this is the last thing you talked about in your post, but I don't know exactly where in the code, you're talking about.

Edited by GooberGunter
Posted

When are you calling these methods? They should both be called in preInit.

 

  On 7/10/2017 at 3:59 PM, GooberGunter said:

It looks like the compiler is still treating the chimera as a minecraft entity instead of an entity in my mod, how do I change this?

I know this is the last thing you talked about in your post, but I don't know exactly where in the code, you're talking about.

Expand  

 

Instead of using new ResourceLocation("<modid>" + "<texture_path>"), use new ResourceLocation("<modid>" + ":" + "<texture_path>") or new ResourceLocation("<modid>", "<texture_path>").

  • Like 1

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.

Posted (edited)

I am calling both methods in the pre-init. First the entity registry and then the rendering registry through the proxy, like so:

@EventHandler
	public void preInit(FMLPreInitializationEvent event) {
		Utils.getLogger().info("Pre Initialize");
		ModItems.init();
		ModTools.init();
		ModBlocks.init();
		ModItems.register();
		ModTools.regeister();
		ModBlocks.register();
		ModEntities.init();
		proxy.registerRenders();
	}

 

I don't see any error in the prompt about the model, it's just invisible

Edit: Does forge not render the model of an entity if it doesn't have a texture.

EDIT: The problem WAS the texture. I was under the impression that if the texture can't be found, the entity renders as white.

Edited by GooberGunter

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

    • ✅ Crobo Coupon Code: 51k3b0je — Get Your \$25 Amazon Gift Card Bonus! If you’re new to Crobo and want to make the most out of your first transaction, you’ve come to the right place. The **Crobo coupon code: 51k3b0je** is a fantastic way to get started. By using this code, you can unlock an exclusive **\$25 Amazon gift card** after completing your first eligible transfer. Let’s dive deep into how the **Crobo coupon code: 51k3b0je** works, why you should use it, and how to claim your reward. --- 🌟 What is Crobo? Crobo is a trusted, modern platform designed for **international money transfers**. It offers fast, secure, and low-cost transactions, making it a favorite choice for individuals and businesses alike. Crobo is committed to transparency, low fees, and competitive exchange rates. And with promo deals like the **Crobo coupon code: 51k3b0je**, it becomes even more attractive. Crobo focuses on providing customers with: * Quick transfer speeds * Minimal fees * Safe, encrypted transactions * Great referral and promo code rewards When you choose Crobo, you’re choosing a platform that values your time, money, and loyalty. And now with the **Crobo coupon code: 51k3b0je**, you can start your Crobo journey with a **bonus reward**! ---# 💥 What is the Crobo Coupon Code: 51k3b0je? The **Crobo coupon code: 51k3b0je** is a **special promotional code** designed for new users. By entering this code during signup, you’ll be eligible for: ✅ A **\$25 Amazon gift card** after your first qualifying transfer. ✅ Access to Crobo’s referral system to earn more rewards. ✅ The ability to combine with future seasonal Crobo discounts. Unlike generic promo codes that just offer small fee reductions, the **Crobo coupon code: 51k3b0je** directly gives you a tangible, valuable reward — perfect for online shopping or gifting. --- ### 🎯 Why Use Crobo Coupon Code: 51k3b0je? There are many reasons why users choose to apply the **Crobo coupon code: 51k3b0je**: 🌟 **Free bonus reward** — Your first transfer can instantly earn you a \$25 Amazon gift card. 🌟 **Trusted platform** — Crobo is known for secure, fast, and affordable transfers. 🌟 **Easy to apply** — Simply enter **Crobo coupon code: 51k3b0je** at signup — no complicated steps. 🌟 **Referral opportunities** — Once you’ve used **Crobo coupon code: 51k3b0je**, you can invite friends and earn more rewards. 🌟 **Stackable savings** — Pair **Crobo coupon code: 51k3b0je** with Crobo’s ongoing offers or holiday deals for even more benefits. --- ### 📝 How to Use Crobo Coupon Code: 51k3b0je Getting started with **Crobo coupon code: 51k3b0je** is quick and easy. Just follow these steps: 1️⃣ **Download the Crobo app** (available on Google Play Store and Apple App Store) or visit the official Crobo website. 2️⃣ **Start the sign-up process** by entering your basic details (name, email, phone number, etc.). 3️⃣ When prompted, enter **Crobo coupon code: 51k3b0je** in the promo code or coupon code field. 4️⃣ Complete your first transaction — be sure to meet the minimum amount required to qualify for the reward (usually specified in Crobo’s promo terms). 5️⃣ After the transaction is verified, receive your **\$25 Amazon gift card** directly via email or within your Crobo account. --- ### 💡 Tips to Maximize Your Crobo Coupon Code: 51k3b0je Bonus 👉 **Transfer the minimum qualifying amount or more** — this ensures you meet the conditions for the gift card. 👉 **Refer friends after your signup** — Crobo allows users who’ve signed up with codes like **Crobo coupon code: 51k3b0je** to share their own code for extra bonuses. 👉 **Check for additional Crobo promotions** — sometimes Crobo offers seasonal or regional deals that stack with the coupon code. 👉 **Complete your transaction soon after signup** — many bonuses have time limits, so act quickly! --- ### 🚀 Frequently Asked Questions about Crobo Coupon Code: 51k3b0je **Q: Can I use Crobo coupon code: 51k3b0je if I already have a Crobo account?** A: No — the **Crobo coupon code: 51k3b0je** is intended for **new users only**. It must be applied during the initial registration process. --- **Q: How long does it take to get the \$25 Amazon gift card after using Crobo coupon code: 51k3b0je?** A: Typically, the gift card is sent **within a few business days** after your first qualifying transfer is completed and verified. --- **Q: Are there hidden fees when using Crobo coupon code: 51k3b0je?** A: No — Crobo is transparent about its fees. The **Crobo coupon code: 51k3b0je** simply adds a bonus reward without increasing your costs. --- **Q: Can I combine Crobo coupon code: 51k3b0je with other promo codes?** A: The **Crobo coupon code: 51k3b0je** is generally applied as a standalone signup bonus. However, Crobo often offers **ongoing promotions** that may apply to future transactions. ---  📌 Reference Crobo promo code: {51k3b0je} Crobo discount code: {51k3b0je} --- # 🌍 Final Thoughts If you want to enjoy safe, fast, and affordable money transfers with an added bonus, **Crobo coupon code: 51k3b0je** is your best option. Not only will you experience excellent service, but you’ll also earn a **\$25 Amazon gift card** — a reward that you can use immediately for shopping or gifts. 👉 **Don’t wait — sign up today using Crobo coupon code: 51k3b0je and claim your bonus!**
    • Does this schematic contain stuff from the mod prettypipes? Looks like Forgematica has issues to load it Try to load the schematic with worldedit - remove the pipes, save it and test it again
    • I found a potential easy solution! You see, I also had the same error, even one of the same libraries as you and @jarmyco were unable to install, and I found a relatively easy fix after about 2 hours of searching. If you, like me, are just trying to install forge to use forge mods with Minecraft, then this should work. For me, I was trying to install forge for 1.8.0. I had downloaded the Recommended forge version (not the latest version) for 1.8.0, but that version caused 1 or more libraries to fail to download/install. To fix this, I found that simply going back to the forge website and trying a different version of forge (still for 1.8.0) fixed it. For me, I tried using the latest version for 1.8.0, and it worked, but maybe you will have to try a few and find what works, I'm not sure how it all works tbh. It may just be a compatibility issue with certain versions of Java and certain versions of Forge. I had been using a very new Java version, and a very old Forge version. Good luck! - Metal Master
  • Topics

×
×
  • Create New...

Important Information

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