Jump to content

Furnace help 1.8


Vladan899

Recommended Posts

Hello everyone and I've been tinkering...trying to figure out the problem

Thing is ...i got to render my custom furnace in my inventory and i can see gui and slots are working just fine...and bug that i encountered is when i place coal down and my ore...

Block turns to Same block with number 0 while inventory is open...items is not created...1 coal is used...and items will not appear on out slot.

and most annying thing while i did test...is when i do that...as soon i put 2 items into respective slots....my machine turns into BLOCK locking vanilla furnace with no gui...just as ordinary block.

 

Here is tileEnity:

http://pastebin.com/2BQQexEH

 

GuiHandler:

http://pastebin.com/4LvdWMwm

 

Container:

http://pastebin.com/Ki1aJZ3W

 

Block:

http://pastebin.com/U9LmaRcq

 

 

In Main where is preinit, init, and postinit.

Gui have been registered as GameRegistry.registerTileEntity(TileEntityGrinder.class, "TileEntityGrinder"); in Init Section.

 

Forge Version is 11.14.3.1487

Link to comment
Share on other sites

((BlockFurnace) BlockList.GrinderOn).setState(this.isBurning(), this.worldObj, this.pos);

 

now it crashes and here is crash log

 

---- Minecraft Crash Report ----

// Don't do that.

 

Time: 7/14/15 8:03 PM

Description: Ticking block entity

 

java.lang.ClassCastException: com.expansion.blocks.BlockMachineGrinder cannot be cast to net.minecraft.block.BlockFurnace

at com.expansion.tileentity.TileEntityGrinder.update(TileEntityGrinder.java:269)

at net.minecraft.world.World.updateEntities(World.java:1879)

at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)

at java.lang.Thread.run(Unknown Source)

 

 

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

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

 

-- Head --

Stacktrace:

at com.expansion.tileentity.TileEntityGrinder.update(TileEntityGrinder.java:269)

 

-- Block entity being ticked --

Details:

Name: TileEntityGrinder // com.expansion.tileentity.TileEntityGrinder

Block type: ID #207 (tile.GrinderOff // com.expansion.blocks.BlockMachineGrinder)

Block data value: 2 / 0x2 / 0b0010

Block location: World: (-215,87,240), Chunk: (at 9,5,0 in -14,15; contains blocks -224,0,240 to -209,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Actual block type: ID #207 (tile.GrinderOff // com.expansion.blocks.BlockMachineGrinder)

Actual block data value: 2 / 0x2 / 0b0010

Stacktrace:

at net.minecraft.world.World.updateEntities(World.java:1879)

at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587)

 

-- Affected level --

Details:

Level name: New World

All players: 1 total; [EntityPlayerMP['Player714'/301, l='New World', x=-214.63, y=87.17, z=237.95]]

Chunk stats: ServerChunkCache: 625 Drop: 0

Level seed: 675717299778829591

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

Level generator options:

Level spawn location: -208.00,64.00,248.00 - World: (-208,64,248), Chunk: (at 0,4,8 in -13,15; contains blocks -208,0,240 to -193,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Level time: 77868 game time, 77868 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 11444 (now: true), thunder time: 92610 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true

Stacktrace:

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)

at java.lang.Thread.run(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.8

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 833048920 bytes (794 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95

FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1487 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{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1487.jar)

UCHIJAAAA Forge{11.14.3.1487} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1487.jar)

UCHIJAAAA expansion{Alpha 0.0.5} [Expansion: Overhaul] (bin)

Loaded coremods (and transformers):

GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.

Profiler Position: N/A (disabled)

Player Count: 1 / 8; [EntityPlayerMP['Player714'/301, l='New World', x=-214.63, y=87.17, z=237.95]]

Type: Integrated Server (map_client.txt)

Is Modded: Definitely; Client brand changed to 'fml,forge'

 

Link to comment
Share on other sites

I do read the code and i can see and read errors but i seek some assistance.

If you are frustrated and do not wanna say something helpful that" learn Java" or pointing out errors.

Thing is no one is born alive and learned on it's own some programming language.

If you do not have to say/point to my error...I would ask you nicely not to post anything.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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