Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

For some odd reason the model that I made crashes the game when placed in the world can't figure out why this happens(Although it feels like I'm missing something right in my face -_-').

 

here's the crash report

 

 

// Don't be sad, have a hug! <3

 

Time: 1/23/14 6:29 PM

Description: Rendering Tile Entity

 

java.lang.NullPointerException

at us.samcraft.thaumickeeper.client.render.RenderKeeper.renderTileEntityAt(RenderKeeper.java:53)

at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntityAt(TileEntityRenderer.java:106)

at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntity(TileEntityRenderer.java:98)

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:536)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1160)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1006)

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

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

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

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:131)

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

 

 

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

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

 

-- Head --

Stacktrace:

at us.samcraft.thaumickeeper.client.render.RenderKeeper.renderTileEntityAt(RenderKeeper.java:53)

 

-- Tile Entity Details --

Details:

Name: tileSpaceKeeper // us.samcraft.thaumickeeper.tile.TileSpaceKeeper

Block type: ID #4086 (tile.spacekeeper // us.samcraft.thaumickeeper.block.BlockSpaceKeeper)

Block data value: 0 / 0x0 / 0b0000

Block location: World: (248,64,242), Chunk: (at 8,4,2 in 15,15; contains blocks 240,0,240 to 255,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Actual block type: ID #4086 (tile.spacekeeper // us.samcraft.thaumickeeper.block.BlockSpaceKeeper)

Actual block data value: 0 / 0x0 / 0b0000

Stacktrace:

at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntityAt(TileEntityRenderer.java:106)

at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntity(TileEntityRenderer.java:98)

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:536)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1160)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player625'/447, l='MpServer', x=247.88, y=65.62, z=245.33]]

Chunk stats: MultiplayerChunkCache: 105

Level seed: 0

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

Level generator options:

Level spawn location: World: (244,64,256), Chunk: (at 4,4,0 in 15,16; contains blocks 240,0,256 to 255,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 324 game time, 324 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: 78 total; [EntityCreeper['Creeper'/137, l='MpServer', x=242.56, y=54.00, z=184.44], EntityBat['Bat'/136, l='MpServer', x=244.75, y=38.10, z=184.17], EntityChicken['Chicken'/139, l='MpServer', x=245.50, y=63.00, z=204.50], EntityCreeper['Creeper'/138, l='MpServer', x=243.91, y=55.00, z=190.00], EntityChicken['Chicken'/141, l='MpServer', x=243.03, y=62.00, z=204.50], EntityChicken['Chicken'/140, l='MpServer', x=247.50, y=63.00, z=204.50], EntityChicken['Chicken'/142, l='MpServer', x=244.50, y=62.00, z=207.50], EntityBrainyZombie['Angry Zombie'/133, l='MpServer', x=252.50, y=40.00, z=188.50], EntityBat['Bat'/132, l='MpServer', x=244.36, y=46.67, z=178.77], EntityCreeper['Creeper'/135, l='MpServer', x=244.50, y=44.00, z=188.50], EntitySkeleton['Skeleton'/134, l='MpServer', x=251.50, y=40.00, z=191.16], EntityBat['Bat'/152, l='MpServer', x=263.88, y=37.57, z=190.86], EntityChicken['Chicken'/153, l='MpServer', x=260.50, y=63.00, z=219.50], EntityChicken['Chicken'/154, l='MpServer', x=259.50, y=63.00, z=219.50], EntityChicken['Chicken'/155, l='MpServer', x=260.41, y=63.00, z=220.56], EntityChicken['Chicken'/156, l='MpServer', x=261.03, y=63.00, z=219.56], EntityCreeper['Creeper'/149, l='MpServer', x=260.50, y=37.00, z=188.50], EntityZombie['Zombie'/151, l='MpServer', x=260.00, y=37.00, z=190.75], EntityBat['Bat'/171, l='MpServer', x=285.62, y=37.05, z=199.63], EntityBat['Bat'/170, l='MpServer', x=286.30, y=37.15, z=199.95], EntityBat['Bat'/169, l='MpServer', x=287.25, y=32.40, z=180.75], EntityCow['Cow'/175, l='MpServer', x=281.31, y=63.00, z=245.03], EntityCow['Cow'/174, l='MpServer', x=285.50, y=63.00, z=234.50], EntityCow['Cow'/173, l='MpServer', x=283.50, y=63.00, z=234.50], EntityCow['Cow'/172, l='MpServer', x=283.50, y=63.00, z=234.50], EntityChicken['Chicken'/186, l='MpServer', x=303.44, y=67.00, z=250.44], EntityChicken['Chicken'/187, l='MpServer', x=292.50, y=64.00, z=242.50], EntityChicken['Chicken'/184, l='MpServer', x=296.87, y=70.00, z=230.47], EntityChicken['Chicken'/185, l='MpServer', x=301.72, y=70.00, z=230.38], EntityChicken['Chicken'/188, l='MpServer', x=294.59, y=65.00, z=241.19], EntityChicken['Chicken'/189, l='MpServer', x=292.38, y=66.00, z=248.56], EntitySkeleton['Skeleton'/59, l='MpServer', x=181.50, y=27.00, z=201.50], EntityBat['Bat'/178, l='MpServer', x=289.41, y=26.29, z=200.52], EntityWolf['Wolf'/179, l='MpServer', x=292.34, y=63.00, z=233.72], EntityWolf['Wolf'/182, l='MpServer', x=292.47, y=68.00, z=231.06], EntitySquid['Squid'/62, l='MpServer', x=183.40, y=59.88, z=212.56], EntityChicken['Chicken'/183, l='MpServer', x=300.50, y=70.00, z=231.50], EntityWolf['Wolf'/180, l='MpServer', x=293.50, y=64.00, z=233.84], EntitySkeleton['Skeleton'/60, l='MpServer', x=185.50, y=27.00, z=200.50], EntityWolf['Wolf'/181, l='MpServer', x=295.50, y=67.00, z=235.50], EntityChicken['Chicken'/205, l='MpServer', x=317.41, y=71.00, z=232.59], EntityChicken['Chicken'/204, l='MpServer', x=310.59, y=75.00, z=231.75], EntityChicken['Chicken'/207, l='MpServer', x=315.47, y=69.00, z=245.84], EntityItem['item.tile.sapling.oak'/206, l='MpServer', x=306.84, y=71.13, z=224.81], EntitySquid['Squid'/64, l='MpServer', x=185.41, y=59.84, z=207.60], EntityBat['Bat'/201, l='MpServer', x=313.57, y=34.05, z=199.81], EntityChicken['Chicken'/203, l='MpServer', x=311.59, y=75.00, z=232.66], EntityChicken['Chicken'/202, l='MpServer', x=304.50, y=71.00, z=231.50], EntityBat['Bat'/77, l='MpServer', x=196.27, y=26.19, z=205.00], EntitySquid['Squid'/78, l='MpServer', x=205.61, y=50.28, z=309.21], EntityItem['item.tile.mushroom'/212, l='MpServer', x=309.88, y=14.13, z=298.44], EntityItem['item.tile.gravel'/213, l='MpServer', x=307.09, y=14.13, z=291.25], EntityBat['Bat'/95, l='MpServer', x=214.25, y=27.09, z=202.77], EntityItem['item.tile.mushroom'/214, l='MpServer', x=307.13, y=13.13, z=291.13], EntitySkeleton['Skeleton'/94, l='MpServer', x=219.50, y=30.00, z=183.50], EntityItem['item.tile.mushroom'/208, l='MpServer', x=306.13, y=13.13, z=292.13], EntityItem['item.tile.mushroom'/209, l='MpServer', x=305.13, y=13.13, z=294.25], EntityItem['item.tile.mushroom'/210, l='MpServer', x=306.13, y=13.13, z=294.97], EntityItem['item.tile.mushroom'/211, l='MpServer', x=307.13, y=13.13, z=291.13], EntityCreeper['Creeper'/238, l='MpServer', x=321.50, y=22.00, z=318.50], EntitySquid['Squid'/98, l='MpServer', x=214.52, y=47.77, z=307.85], EntityZombie['Zombie'/234, l='MpServer', x=325.63, y=28.00, z=286.97], EntitySquid['Squid'/99, l='MpServer', x=212.76, y=49.43, z=306.68], EntityChicken['Chicken'/233, l='MpServer', x=326.47, y=67.00, z=260.69], EntityZombie['Zombie'/96, l='MpServer', x=223.03, y=37.00, z=194.69], EntitySquid['Squid'/97, l='MpServer', x=223.67, y=61.81, z=298.95], EntityBrainyZombie['Angry Zombie'/119, l='MpServer', x=239.50, y=54.00, z=182.50], EntityZombie['Zombie'/118, l='MpServer', x=230.50, y=29.00, z=189.50], EntityZombie['Zombie'/117, l='MpServer', x=226.50, y=30.00, z=178.50], EntitySquid['Squid'/127, l='MpServer', x=227.44, y=60.07, z=303.96], EntityClientPlayerMP['Player625'/447, l='MpServer', x=247.88, y=65.62, z=245.33], EntitySquid['Squid'/126, l='MpServer', x=231.48, y=61.31, z=306.92], EntitySquid['Squid'/125, l='MpServer', x=234.00, y=60.60, z=304.07], EntityZombie['Zombie'/124, l='MpServer', x=224.44, y=37.00, z=192.88], EntitySkeleton['Skeleton'/123, l='MpServer', x=225.13, y=35.00, z=196.38], EntitySkeleton['Skeleton'/122, l='MpServer', x=225.63, y=36.00, z=195.50], EntityZombie['Zombie'/121, l='MpServer', x=230.28, y=29.00, z=192.47], EntityZombie['Zombie'/120, l='MpServer', x=229.56, y=29.00, z=193.53]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

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

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

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

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

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:131)

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

 

 

The problem seems to be in my RenderKeeper class but I'm not sure why it crashes the game.

 

Here's the rendering class

https://github.com/LordIllyohs/ThaumicKeeper/blob/master/src/main/java/us/samcraft/thaumickeeper/client/render/RenderKeeper.java

 

Here's the model class

https://github.com/LordIllyohs/ThaumicKeeper/blob/master/src/main/java/us/samcraft/thaumickeeper/client/model/ModelKeeper.java

 

Thank you.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.