Jump to content

sham1

Forge Modder
  • Posts

    80
  • Joined

  • Last visited

Everything posted by sham1

  1. It is kinda hard to charge anything or get if it is chargeable at all if it happens to be null for instance
  2. Here's an example for you: this.worldObj.setBlock(this.xCoord, this.yCoord, this.zCoord, Blocks.stone) That turns your block into stone.
  3. The feature has not been implemented yet as they have still some kinks to work out. I figure it will be up in no time.
  4. Hello there. For my mod I need some kind of way to transfer fluids and for that I have made pipes. I also wanted to see if there is any fluid in there and with a glance also what is in there. So I created myself TESR to render the fluid "block" inside my pipe block. However, as you might see from this picture, it didn't go that well. So I'm asking you people here to give me some pointers how I can make this rendering work. Here is the TESR code. Thanks in advance for anyone who is willing to take a glance of this code and maybe even give me some pointers on how to fix this.
  5. Maybe, just maybe if you showed me the code I could help you. And you should really make yourself github repo so it would make it easy to show other people.
  6. if (world.isRemote) Hmm, all I could guess is that entities should be spawned server side as it should keep clients aware of it being there after it is created. Try if(!world.isRemote) instead
  7. Where do I put the Use ItemSword#onItemRightClick? My code for the shooting part is here. First off, Use is not command. Second off he means that you should override onItemRightClick on your Sword class.
  8. Does the arrow still go toward the target it is homing? If so then via basic trigonometry you can figure the pitch and yaw out. Sorry, I cant exactly post and example code as I am going to class but that is the basic thing to do.
  9. I assume that because both classes implement ITileentityProvider, he wants to have the now late lock A's tileentity with Block B's tileentity.
  10. Enginecrafter, the advantages of having your project in Git is that for instance you can develop your mod from everywhere where there is IDE and if your hard disk fails you will have not lost your project. I myself would be lost nowadays without Github repo.
  11. That's not what modding is about. We can guide you but you do all the stuff by yourself.
  12. Maybe if you told us what the error said we could help. I personally don't have a crystal ball so I can't see it unless you give us the error message.
  13. Could someone give me a quick crash course on how to make the JSONs to work. Where to place the textures ect. What about switching states such as having a model that changes one texture depending if the block is on or off. Ktnxbye.
  14. sham1

    Gui

    The answer does not require the use of an API. Anyway if you want to have compatibiliy between your and some other guy's mod you must use API that you clarity in mcmod.info file.
  15. sham1

    Gui

    You should use constructor to get your tileentity because at the moment your code generates new tileentity everytime it runs. So yeah, make constructor.
  16. sham1

    Gui

    Show the code please as our crystal balls are kinda not working.
  17. Send me like a pastebin of your code or something in PM and I can help you.
  18. I think I understand what you want to be able to do. And I will give you the idea how to do it but you have to implement it. First step: create tileentity classes for your cooleant generator and your server and register it. I will assume that you dont want to make the cooleant an item because that is tiny bit more complex. Second step: create a variable called cooleantAmount on both server tileentiy and generator tileentity and create methods getCooleantAmount to both and into the server tileentity you create method addCooleant. Step three: on your generator tileentity's onUpdate method you want to increase the value of cooleantAmount by how much you want be generated. You also wanna check if any blocks around the generator have tileentities mathching the server tileentity and if it is call that particular server-tileentity's addCooleant-method and remove that amount from the generator's cooleantAmount Step 4: Check in your server tileentity's onUpdate-method if you have enough cooleant and do it do what it should. It wasnt so hard was it.
  19. Please show us the source file where you register the entity (entities as the error message says that you are registering two different things under the same ID).
  20. Please give us the actual error message maybe we could help. ATM we dont know shit about your problem. Also attach the whole code where the error message is refering to.
  21. I don't know if I get this straight, you mean I can just put "C:\Users\User\Desktop" as a domain? Or I have to "create" a domain? Explain that part a little bit please He said that you have to implement IResourceLocation. Im not at my computer so I cant give you any further instructions but try to see what you need to implement.
  22. Do you want the smelting in a furnace or something? If so, you must understand how blocks in inventories are handeled. Blocks in your inventory are actually not extends of the class Block. Instead they inherete the class called ItemBlock that represent blocks on your inventory. ItemBlock extends the Item class. I think you can now figure out how to do this.
  23. Yeah, I added a null-check and now it works fine. Sorta dumb of me because I should have known that would be needed. It may have been a brainfart. Thank you anyway.
  24. So yeah, the problem is in the title. And the funny thing about it is that it only happens on block that has been already placed after world reload. The log: [16:49:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:49:58] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:49:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:49:59] [main/INFO]: Logging in with username & password [16:50:00] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading [16:50:00] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_67, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [16:50:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:50:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:50:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:50:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:50:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:50:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:50:01] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:50:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:50:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:50:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:50:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [16:50:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [16:50:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:50:06] [main/INFO]: Setting user: sham1 [16:50:09] [Client thread/INFO]: LWJGL Version: 2.9.1 [16:50:10] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [16:50:10] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized [16:50:10] [Client thread/INFO] [FML]: Replaced 182 ore recipies [16:50:10] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [16:50:10] [Client thread/INFO] [FML]: Searching C:\Users\Jani\git\PSICraft\mods for mods [16:50:11] [Client thread/WARN] [psicraftID]: Mod psicraftID is missing the required element 'version' and no fallback can be found. Substituting '1.0'. [16:50:17] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [16:50:17] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, psicraftID] at CLIENT [16:50:17] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, psicraftID] at SERVER [16:50:18] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:PSI Craft [16:50:18] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [16:50:18] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [16:50:18] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [16:50:18] [Client thread/INFO] [FML]: Applying holder lookups [16:50:18] [Client thread/INFO] [FML]: Holder lookups applied [16:50:18] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:50:18] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [16:50:18] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [16:50:18] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:50:19] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [16:50:19] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:50:19] [sound Library Loader/INFO]: Sound engine started [16:50:21] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [16:50:22] [Client thread/INFO]: Created: 256x256 textures/items-atlas [16:50:22] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [16:50:22] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:PSI Craft [16:50:22] [Client thread/INFO]: Created: 256x256 textures/items-atlas [16:50:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_165_psigenerator.png java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_165_psigenerator.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] [16:50:23] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [16:50:23] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:50:23] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down... [16:50:23] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [16:50:23] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:50:23] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:50:23] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [16:50:23] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [16:50:23] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:50:23] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [16:50:23] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:50:23] [sound Library Loader/INFO]: Sound engine started [16:50:47] [server thread/INFO]: Starting integrated minecraft server version 1.7.10 [16:50:47] [server thread/INFO]: Generating keypair [16:50:47] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [16:50:48] [server thread/INFO] [FML]: Applying holder lookups [16:50:48] [server thread/INFO] [FML]: Holder lookups applied [16:50:48] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@3bdd8ec9) [16:50:48] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@3bdd8ec9) [16:50:48] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@3bdd8ec9) [16:50:48] [server thread/INFO]: Preparing start region for level 0 [16:50:49] [server thread/INFO]: Preparing spawn area: 14% [16:50:50] [server thread/INFO] [sTDOUT]: [com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity:readFromNBT:61]: ReadFromNBT [16:50:50] [server thread/INFO]: Preparing spawn area: 76% [16:50:51] [server thread/INFO]: Changing view distance to 2, from 10 [16:50:51] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [16:50:51] [Netty IO #1/INFO] [FML]: Client protocol version 1 [16:50:51] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [16:50:51] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [16:50:51] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [16:50:51] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [16:50:51] [server thread/INFO] [FML]: [server thread] Server side modded connection established [16:50:51] [server thread/INFO]: sham1[local:E:8fe7df27] logged in with entity id 544 at (96.71002049315578, 12.56090590298851, -50.03434868967865) [16:50:51] [server thread/INFO]: sham1 joined the game [16:50:52] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:709) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.writeToNBT(PSIGeneratorTileEntity.java:46) ~[PSIGeneratorTileEntity.class:?] at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.getDescriptionPacket(PSIGeneratorTileEntity.java:36) ~[PSIGeneratorTileEntity.class:?] at net.minecraft.entity.player.EntityPlayerMP.func_147097_b(EntityPlayerMP.java:584) ~[EntityPlayerMP.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:311) ~[EntityPlayerMP.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2258) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:2108) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) ~[MinecraftServer.class:?] ... 4 more [16:50:52] [server thread/ERROR]: This crash report has been saved to: C:\Users\Jani\git\PSICraft\.\crash-reports\crash-2014-12-06_16.50.52-server.txt [16:50:52] [server thread/INFO]: Stopping server [16:50:52] [server thread/INFO]: Saving players [16:50:52] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 6.12.2014 16:50 Description: Ticking entity java.lang.NullPointerException: Ticking entity at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.writeToNBT(PSIGeneratorTileEntity.java:46) at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.getDescriptionPacket(PSIGeneratorTileEntity.java:36) at net.minecraft.entity.player.EntityPlayerMP.func_147097_b(EntityPlayerMP.java:584) at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:311) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.writeToNBT(PSIGeneratorTileEntity.java:46) at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.getDescriptionPacket(PSIGeneratorTileEntity.java:36) at net.minecraft.entity.player.EntityPlayerMP.func_147097_b(EntityPlayerMP.java:584) at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:311) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: null (net.minecraft.entity.player.EntityPlayerMP) Entity ID: 544 Entity Name: sham1 Entity's Exact location: 96,71, 12,56, -50,03 Entity's Block location: World: (96,12,-51), Chunk: (at 0,0,13 in 6,-4; contains blocks 96,0,-64 to 111,255,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Entity's Momentum: 0,00, 0,00, 0,00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) -- Affected level -- Details: Level name: New World All players: 1 total; [EntityPlayerMP['sham1'/544, l='New World', x=96,71, y=12,56, z=-50,03]] Chunk stats: ServerChunkCache: 670 Drop: 0 Level seed: 6122057205855843159 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: World: (80,64,64), Chunk: (at 0,4,0 in 5,4; contains blocks 80,0,64 to 95,255,79), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 56343 game time, 56343 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 51051 (now: false), thunder time: 18667 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_67, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 385017672 bytes (367 MB) / 535298048 bytes (510 MB) up to 1431830528 bytes (1365 MB) JVM Flags: 0 total; AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available psicraftID{1.0} [PSI Craft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['sham1'/544, l='New World', x=96,71, y=12,56, z=-50,03]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [16:50:52] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-12-06_16.50.52-server.txt [16:50:52] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [16:50:52] [server thread/INFO]: Saving worlds [16:50:52] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [16:50:52] [server thread/ERROR] [FML]: A TileEntity type com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity has throw an exception trying to write state. It will not persist. Report this to the mod author java.lang.NullPointerException at com.github.sham1.psicraft.tileentity.PSIGeneratorTileEntity.writeToNBT(PSIGeneratorTileEntity.java:46) ~[PSIGeneratorTileEntity.class:?] at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:395) [AnvilChunkLoader.class:?] at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:204) [AnvilChunkLoader.class:?] at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:287) [ChunkProviderServer.class:?] at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:340) [ChunkProviderServer.class:?] at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:862) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:370) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:405) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:266) [integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:538) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] [16:50:52] [server thread/INFO]: Saving chunks for level 'New World'/Nether [16:50:52] [server thread/INFO]: Saving chunks for level 'New World'/The End [16:50:53] [server thread/INFO] [FML]: Unloading dimension 0 [16:50:53] [server thread/INFO] [FML]: Unloading dimension -1 [16:50:53] [server thread/INFO] [FML]: Unloading dimension 1 [16:50:53] [server thread/INFO] [FML]: Applying holder lookups [16:50:53] [server thread/INFO] [FML]: Holder lookups applied [16:50:53] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [16:50:53] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed And here is the code of tile entity: https://github.com/sham1/PSICraft/blob/dev/PSICraft/src/main/java/com/github/sham1/psicraft/tileentity/PSIGeneratorTileEntity.java
  25. While I would not want to backseat mod here: May you use code-tags next time because that would make it mor readable.
×
×
  • Create New...

Important Information

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