1.0.1: Inverted Sky Block 1418:1

Crhymez

New Member
Jul 29, 2019
267
0
0
Version:
1.0.1

What is the bug:
Everytime i place one it corrupts the chunk and anyone in the chuck can not log in untill i remove it with MCedit.

Mod & Version:


Paste.feed-the-beast.com log:


Can it be repeated:
yes

Known Fix:
 

Senseidragon

Well-Known Member
May 26, 2013
703
319
88
Tested and confirmed. Client crashes to desktop.

Portion of crash log:
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 11/5/14 1:02 PM
Description: Rendering Block Entity

java.lang.NullPointerException: Rendering Block Entity
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1011)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:990)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)


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

-- Head --
Stacktrace:
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)

-- Block Entity Details --
Details:
Name: openblocks_sky // openblocks.common.tileentity.TileEntitySky
Block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Block data value: 1 / 0x1 / 0b0001
Block location: World: (-931,5,408), Chunk: (at 13,0,8 in -59,25; contains blocks -944,0,400 to -929,255,415), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Actual block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Actual block data value: 1 / 0x1 / 0b0001
Stacktrace:
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Senseidragon'/301, l='MpServer', x=-929.92, y=5.62, z=406.83]]

Restarting game as described by OP results in this crash upon entering world:

---- Minecraft Crash Report ----
// Why did you do that?

Time: 11/5/14 1:09 PM
Description: Rendering Block Entity

java.lang.NullPointerException: Rendering Block Entity
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1011)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:990)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
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)


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

-- Head --
Stacktrace:
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)

-- Block Entity Details --
Details:
Name: openblocks_sky // openblocks.common.tileentity.TileEntitySky
Block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Block data value: 1 / 0x1 / 0b0001
Block location: World: (-931,5,408), Chunk: (at 13,0,8 in -59,25; contains blocks -944,0,400 to -929,255,415), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Actual block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Actual block data value: 1 / 0x1 / 0b0001
Stacktrace:
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Senseidragon'/223, l='MpServer', x=-929.92, y=5.62, z=406.83]]

In my case, the Inverted Sky Block has an ID of #1532/1

Two possible 'fixes':
1, disable openblocks, restart world, all openblocks items will be removed. Tends to be a bit overkill but works.

2. Use mIDas Gold v0.2.5 on the world save file and replace the offending block(s) with something that doesn't crash.

In my case, I replaced the Inverted Sky Block (1532/1) with Stone (1/0)

Here is the patchfile for mIDas Gold v0.2.5:

filename: fixskyblock.txt
1532:1 -> 1:0

If your ID is different, change as appropriate. I pulled mine out of the crash log above.

Not that it shows much, since you can't screenshot the block being placed, here is a shot of the world *after* running mIDas on the offending save and reloading the world:

Stoned Inverted Sky Block
 

MoparDan

Member
Jul 29, 2019
15
3
15
Another possible fix (we had this same issue on our server) is to change "sky=true" to false in the openblocks.cfg file. This will only remove the sky blocks but leave everything else intact.