Jump to content

NBT not functioning


david476

Recommended Posts

I can never seem to get NBT with an entity (extends Entity) to actually work. Seemed fine with a tile entity.

 

Current Code:

@Override
protected void readEntityFromNBT(NBTTagCompound nbt) {
	super.readFromNBT(nbt);
	sX = nbt.getInteger("sX");
	sY = nbt.getInteger("sY");
	sZ = nbt.getInteger("sZ");
	active = nbt.getBoolean("active");

	if (!active) {
		if (this.worldObj.getBlock(sX, sY, sZ) instanceof BlockController) {
			BlockController sBlock = (BlockController) this.worldObj.getBlock(sX, sY, sZ);
			sBlock.sEntity = this;
		}
	}
}

@Override
protected void writeEntityToNBT(NBTTagCompound nbt) {
	super.writeToNBT(nbt);
	nbt.setInteger("sX", sX);
	nbt.setInteger("sY", sY);
	nbt.setInteger("sZ", sZ);
	nbt.setBoolean("active", active);
}

 

I have nothing else that relates to NBT

 

Variables are set in the class or before spawning of the entity.

 

Crash on save:

[20:19:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:19:31] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[20:19:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[20:19:31] [main/INFO] [FML]: Forge Mod Loader version 7.2.209.1112 for Minecraft 1.7.2 loading
[20:19:31] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_60, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[20:19:31] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[20:19:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:19:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:19:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:19:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:19:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:19:31] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[20:19:32] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/DEB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[20:19:32] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[20:19:32] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/DEB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[20:19:32] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[20:19:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:19:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[20:19:32] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[20:19:33] [main/INFO]: Setting user: Player794
[20:19:33] [Client thread/INFO]: LWJGL Version: 2.9.0
[20:19:34] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[20:19:34] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1112 Initialized
[20:19:34] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[20:19:34] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[20:19:34] [Client thread/INFO] [FML]: Searching C:\Users\DEB\Desktop\Modding\forge-1.7.2-10.12.1.1112\Forge\mods for mods
[20:19:34] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
[20:19:35] [Client thread/INFO] [debcore]: Mod debcore is missing the required element 'name'. Substituting debcore
[20:19:35] [Client thread/INFO] [debmodularships]: Mod debmodularships is missing the required element 'name'. Substituting debmodularships
[20:19:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 6 mods to load
[20:19:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:debcore, FMLFileResourcePack:debmodularships
[20:19:35] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[20:19:35] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[20:19:35] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:19:35] [Client thread/INFO] [FML]: Applying holder lookups
[20:19:35] [Client thread/INFO] [FML]: Holder lookups applied

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[20:19:36] [sound Library Loader/INFO]: Sound engine started
[20:19:36] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[20:19:36] [Client thread/INFO]: Created: 256x256 textures/items-atlas
DIRT BLOCK >> tile.dirt
[20:19:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 6 mods
[20:19:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:debcore, FMLFileResourcePack:debmodularships
[20:19:36] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[20:19:36] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_165_controllerblock.png
java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_165_controllerblock.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:626) [Minecraft.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:585) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
[20:19:36] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com


Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[20:19:37] [sound Library Loader/INFO]: Sound engine started
[20:19:37] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms
[20:19:48] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[20:19:48] [server thread/INFO]: Generating keypair
[20:19:48] [server thread/INFO]: Converting map!
[20:19:48] [server thread/INFO]: Scanning folders...
[20:19:48] [server thread/INFO]: Total conversion count is 0
[20:19:48] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[20:19:48] [server thread/INFO] [FML]: Applying holder lookups
[20:19:48] [server thread/INFO] [FML]: Holder lookups applied
[20:19:49] [server thread/INFO] [FML]: Loading dimension 0 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@4094d25a)
[20:19:49] [server thread/INFO] [FML]: Loading dimension 1 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@4094d25a)
[20:19:49] [server thread/INFO] [FML]: Loading dimension -1 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@4094d25a)
[20:19:49] [server thread/INFO]: Preparing start region for level 0
[20:19:49] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[20:19:49] [Netty IO #1/INFO] [FML]: Client protocol version 1
[20:19:49] [Netty IO #1/INFO] [FML]: Client attempting to join with 6 mods : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
[20:19:49] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[20:19:49] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[20:19:49] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[20:19:49] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[20:19:49] [server thread/INFO]: Player794[local:E:c9aa1ee9] logged in with entity id 8 at (-212.5, 4.0, 1746.5)
[20:19:49] [server thread/INFO]: Player794 joined the game
[20:19:51] [server thread/INFO]: Player794 has just earned the achievement [Taking Inventory]
[20:19:51] [Client thread/INFO]: [CHAT] Player794 has just earned the achievement [Taking Inventory]
[20:19:56] [server thread/INFO]: Saving and pausing game...
[20:19:56] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Overworld
[20:20:02] [server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: net/minecraft/entity/Entity$1
at net.minecraft.entity.Entity.addEntityCrashInfo(Entity.java:2463) ~[Entity.class:?]
at net.minecraft.entity.Entity.writeToNBT(Entity.java:1578) ~[Entity.class:?]
at net.minecraft.entity.Entity.writeToNBTOptional(Entity.java:1515) ~[Entity.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:299) ~[AnvilChunkLoader.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:132) ~[AnvilChunkLoader.class:?]
at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:229) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:281) ~[ChunkProviderServer.class:?]
at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:875) ~[WorldServer.class:?]
at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:370) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:113) ~[integratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:746) [MinecraftServer$2.class:?]
[20:20:02] [server thread/ERROR]: This crash report has been saved to: C:\Users\DEB\Desktop\Modding\forge-1.7.2-10.12.1.1112\Forge\.\crash-reports\crash-2014-06-17_20.20.02-server.txt
[20:20:02] [server thread/INFO]: Stopping server
[20:20:02] [server thread/INFO]: Saving players
[20:20:02] [server thread/INFO]: Saving worlds
[20:20:02] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Overworld
[20:20:08] [server thread/ERROR]: Exception stopping the server
java.lang.NoClassDefFoundError: net/minecraft/entity/Entity$1
at net.minecraft.entity.Entity.addEntityCrashInfo(Entity.java:2463) ~[Entity.class:?]
at net.minecraft.entity.Entity.writeToNBT(Entity.java:1578) ~[Entity.class:?]
at net.minecraft.entity.Entity.writeToNBTOptional(Entity.java:1515) ~[Entity.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:299) ~[AnvilChunkLoader.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:132) ~[AnvilChunkLoader.class:?]
at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:229) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:281) ~[ChunkProviderServer.class:?]
at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:875) ~[WorldServer.class:?]
at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:370) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:403) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:255) ~[integratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:535) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:746) [MinecraftServer$2.class:?]
[20:20:08] [server thread/INFO] [FML]: Applying holder lookups
[20:20:08] [server thread/INFO] [FML]: Holder lookups applied
[20:20:08] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 6/17/14 8:20 PM
Description: Exception in server tick loop

java.lang.NoClassDefFoundError: net/minecraft/entity/Entity$1
at net.minecraft.entity.Entity.addEntityCrashInfo(Entity.java:2463)
at net.minecraft.entity.Entity.writeToNBT(Entity.java:1578)
at net.minecraft.entity.Entity.writeToNBTOptional(Entity.java:1515)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:299)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:132)
at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:229)
at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:281)
at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:875)
at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:370)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:113)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:746)


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

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_60, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 527174440 bytes (502 MB) / 770179072 bytes (734 MB) up to 3804758016 bytes (3628 MB)
JVM Flags: 0 total; 
AABB Pool Size: 175 (9800 bytes; 0 MB) allocated, 172 (9632 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.03 FML v7.2.209.1112 Minecraft Forge 10.12.1.1112 6 mods loaded, 6 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.2.209.1112} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1112.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.12.1.1112} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1112.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
debcore{1.7.00Dev} [debcore] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
debmodularships{1.7.00Dev} [debmodularships] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 14 (784 bytes; 0 MB) allocated, 14 (784 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['Player794'/8, l='Copy of Copy of Copy of Copy of', x=-212.50, y=4.00, z=1746.50]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
#@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-06-17_20.20.02-server.txt
AL lib: (EE) alc_cleanup: 1 device not closed

Link to comment
Share on other sites

Let me know what those are, still a bit of a newb, but not the problem. I deleted the super.blahs, not supposed to be there, and isolated the problem to:

 

if (this.worldObj.getBlock(sX, sY, sZ) instanceof BlockController) {

 

I'm crashing on load with (saving seems fine):

 

[22:18:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:18:09] [main/INFO] [FML]: Forge Mod Loader version 7.2.209.1112 for Minecraft 1.7.2 loading
[22:18:09] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_60, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[22:18:09] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:18:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:18:09] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[22:18:09] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/DEB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[22:18:09] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[22:18:09] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/DEB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[22:18:09] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[22:18:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:18:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:18:09] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:18:10] [main/INFO]: Setting user: Player946
[22:18:10] [Client thread/INFO]: LWJGL Version: 2.9.0
[22:18:11] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[22:18:11] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1112 Initialized
[22:18:11] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[22:18:11] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[22:18:11] [Client thread/INFO] [FML]: Searching C:\Users\DEB\Desktop\Modding\forge-1.7.2-10.12.1.1112\Forge\mods for mods
[22:18:11] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
[22:18:12] [Client thread/INFO] [debcore]: Mod debcore is missing the required element 'name'. Substituting debcore
[22:18:12] [Client thread/INFO] [debmodularships]: Mod debmodularships is missing the required element 'name'. Substituting debmodularships
[22:18:12] [Client thread/INFO] [FML]: Forge Mod Loader has identified 6 mods to load
[22:18:12] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:debcore, FMLFileResourcePack:debmodularships
[22:18:12] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[22:18:12] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[22:18:12] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:18:12] [Client thread/INFO] [FML]: Applying holder lookups
[22:18:12] [Client thread/INFO] [FML]: Holder lookups applied

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[22:18:13] [sound Library Loader/INFO]: Sound engine started
[22:18:13] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[22:18:13] [Client thread/INFO]: Created: 256x256 textures/items-atlas
DIRT BLOCK >> tile.dirt
[22:18:13] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 6 mods
[22:18:13] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:debcore, FMLFileResourcePack:debmodularships
[22:18:13] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[22:18:13] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_165_controllerblock.png
java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_165_controllerblock.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:626) [Minecraft.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:585) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:892) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
[22:18:13] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com


Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.

[22:18:14] [sound Library Loader/INFO]: Sound engine started
[22:18:15] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms
[22:18:18] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[22:18:18] [server thread/INFO]: Generating keypair
[22:18:18] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[22:18:18] [server thread/INFO] [FML]: Applying holder lookups
[22:18:18] [server thread/INFO] [FML]: Holder lookups applied
[22:18:18] [server thread/INFO] [FML]: Loading dimension 0 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@1ca7ddb6)
[22:18:18] [server thread/INFO] [FML]: Loading dimension 1 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@1ca7ddb6)
[22:18:18] [server thread/INFO] [FML]: Loading dimension -1 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@1ca7ddb6)
[22:18:18] [server thread/INFO]: Preparing start region for level 0
works
works
[22:18:19] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
[22:18:19] [Netty IO #1/INFO] [FML]: Client protocol version 1
[22:18:19] [Netty IO #1/INFO] [FML]: Client attempting to join with 6 mods : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
[22:18:19] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[22:18:19] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[22:18:19] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[22:18:19] [server thread/INFO]: Player946[local:E:f3bfc389] logged in with entity id 21 at (-214.4576945781136, 4.0, 1748.4120463587542)
[22:18:19] [server thread/INFO]: Player946 joined the game
[22:18:19] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[22:18:20] [server thread/INFO]: Saving and pausing game...
[22:18:21] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Overworld
[22:18:21] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Nether
[22:18:21] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/The End
[22:18:21] [server thread/INFO]: Stopping server
[22:18:21] [server thread/INFO]: Saving players
[22:18:21] [server thread/INFO]: Saving worlds
[22:18:21] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Overworld
[22:18:21] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Nether
[22:18:21] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/The End
[22:18:21] [server thread/INFO] [FML]: Unloading dimension 0
[22:18:21] [server thread/INFO] [FML]: Unloading dimension -1
[22:18:21] [server thread/INFO] [FML]: Unloading dimension 1
[22:18:21] [server thread/INFO] [FML]: Applying holder lookups
[22:18:21] [server thread/INFO] [FML]: Holder lookups applied
[22:18:23] [server thread/INFO]: Starting integrated minecraft server version 1.7.2
[22:18:23] [server thread/INFO]: Generating keypair
[22:18:23] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[22:18:23] [server thread/INFO] [FML]: Applying holder lookups
[22:18:23] [server thread/INFO] [FML]: Holder lookups applied
[22:18:23] [server thread/INFO] [FML]: Loading dimension 0 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@64bffa81)
[22:18:23] [server thread/INFO] [FML]: Loading dimension 1 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@64bffa81)
[22:18:23] [server thread/INFO] [FML]: Loading dimension -1 (Copy of Copy of Copy of Copy of) (net.minecraft.server.integrated.IntegratedServer@64bffa81)
[22:18:23] [server thread/INFO]: Preparing start region for level 0
works
works
works
[22:18:23] [Netty Client IO #1/INFO] [FML]: Server protocol version 1
[22:18:23] [Netty IO #3/INFO] [FML]: Client protocol version 1
[22:18:23] [Netty IO #3/INFO] [FML]: Client attempting to join with 6 mods : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
[22:18:23] [Netty IO #3/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[22:18:23] [Netty Client IO #1/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[22:18:24] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[22:18:24] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[22:18:24] [server thread/INFO]: Player946[local:E:32c84d36] logged in with entity id 13436 at (-214.4576945781136, 4.0, 1748.4120463587542)
[22:18:24] [server thread/INFO]: Player946 joined the game
[22:18:26] [server thread/INFO]: Saving and pausing game...
[22:18:26] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Overworld
[22:18:26] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Nether
[22:18:26] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/The End
[22:18:27] [server thread/INFO]: Stopping server
[22:18:27] [server thread/INFO]: Saving players
[22:18:27] [server thread/INFO]: Saving worlds
[22:18:27] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Overworld
[22:18:27] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/Nether
[22:18:27] [server thread/INFO]: Saving chunks for level 'Copy of Copy of Copy of Copy of'/The End
[22:18:27] [server thread/INFO] [FML]: Unloading dimension 0
[22:18:27] [server thread/INFO] [FML]: Unloading dimension -1
[22:18:27] [server thread/INFO] [FML]: Unloading dimension 1
[22:18:27] [server thread/INFO] [FML]: Applying holder lookups
[22:18:27] [server thread/INFO] [FML]: Holder lookups applied
[22:18:28] [Client thread/INFO]: Stopping!

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com

 

EDIT

the two lines of code under that too

variables are set to correct location

Link to comment
Share on other sites

figured it out, didn't like being in the NBT method. used:

 

if (!active && !this.worldObj.isRemote && sX + sY + sZ != 0 && this.worldObj.getBlock(sX, sY, sZ) instanceof BlockController) {

BlockController sBlock = (BlockController) this.worldObj.getBlock(sX, sY, sZ);

sBlock.sEntity = this;

System.out.println(sX + " " + sY + " " + sZ);

}

 

in onUpdate

 

could you please tell me what methods you are supposed to use for NBT?

Link to comment
Share on other sites

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

    • Hello! My friends and I were attempting to add a few extra mods to the Create Chronicles modpack, and all was well until people started crashing when they opened their inventories. Any help finding the culprit would be MUCH appreciated, I've been scratching my head for the past few days on what went wrong. https://paste.ee/p/8pajP
    • >>>KLIK LOGIN DISINI SAYANG<<< >>>KLIK DAFTAR DISINI SAYANG<<< Pendahuluan Dalam dunia perjudian online, slot menjadi salah satu permainan yang paling diminati. Dengan munculnya berbagai platform, Togel2Win hadir sebagai salah satu pilihan menarik, terutama dengan fitur anti rungkad yang dijanjikan. Artikel ini akan membahas tentang Togel2Win, keunggulan slot terbaru, dan bagaimana server Thailand berperan dalam meningkatkan pengalaman bermain. Apa Itu Togel2Win? Togel2Win adalah platform permainan yang menawarkan berbagai jenis permainan, termasuk slot dan togel. Dengan antarmuka yang ramah pengguna dan beragam pilihan permainan, situs ini bertujuan untuk memberikan pengalaman bermain yang menyenangkan dan menguntungkan bagi para pemain. Keunggulan Slot Togel2Win Fitur Anti Rungkad: Salah satu keunggulan utama dari Togel2Win adalah fitur anti rungkad yang dirancang untuk mengurangi kemungkinan gangguan saat bermain. Ini memastikan bahwa pemain dapat menikmati permainan tanpa gangguan teknis, meningkatkan kenyamanan dan fokus. Beragam Pilihan Slot: Togel2Win menawarkan berbagai jenis slot, dari yang klasik hingga yang modern dengan grafis menawan dan tema yang menarik. Ini memberikan variasi yang cukup bagi pemain untuk menemukan permainan yang sesuai dengan preferensi mereka. Server Thailand yang Stabil: Server yang berlokasi di Thailand memberikan koneksi yang cepat dan stabil. Ini sangat penting untuk pengalaman bermain yang lancar, terutama saat bermain slot yang memerlukan respons cepat. Bonus dan Promosi Menarik: Togel2Win sering menawarkan bonus dan promosi yang menarik untuk menarik pemain baru dan mempertahankan loyalitas pemain yang sudah ada. Ini bisa berupa bonus deposit, putaran gratis, atau program loyalitas. Tips untuk Pemain Slot di Togel2Win Pilih Slot dengan RTP Tinggi: Sebelum memulai permainan, pastikan untuk memilih slot dengan tingkat pengembalian pemain (RTP) yang tinggi untuk meningkatkan peluang menang. Kelola Anggaran: Tentukan batasan anggaran sebelum bermain dan patuhi itu. Ini membantu mencegah kerugian besar dan menjaga pengalaman bermain tetap menyenangkan. Manfaatkan Bonus: Jangan ragu untuk memanfaatkan bonus dan promosi yang ditawarkan. Ini bisa memberikan tambahan modal untuk bermain lebih lama. Kesimpulan Togel2Win merupakan pilihan menarik bagi para penggemar slot, terutama dengan fitur anti rungkad dan server yang stabil. Dengan berbagai pilihan permainan dan bonus yang menggiurkan, Togel2Win siap memberikan pengalaman bermain yang tak terlupakan. Jika Anda mencari platform slot yang andal dan menyenangkan, Togel2Win bisa menjadi solusi yang tepat.
    • I'm trying to make my own modpack, but sometimes, in certain areas of the world, the game just says "server closed". Minecraft doesn't close, it just returns to the menu. When I tried to figure it out on my own and understand the logs, I didn't understand anything (English is not my native language, so it's difficult for me). I've been trying to solve the problem for the third month. So I ask if anyone is good at this and it's not difficult for you, to help me with this. If you need details, ask. I'll describe everything. What it looks like Logs
  • Topics

×
×
  • Create New...

Important Information

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