Help Please? & Thank You!
I have no idea how do add a Texture to my Stone Lantern block in 1.5.0. >.<
ModLoader.addOverride("/terrain.png", "/StoneLanternTexture.png") don't seem to work now. (I understand, because there is no terrain.png anymore.)
What command do I use & how do I use it? (My basic mod is open source by the way.)
My Minecraft when I installed Recipe Book came up with the "Unknown Texture" on any block whenever I logged on to anything! I do not have Too Many Items or Not Enough Items all I had installed Was Optifine HD Ultra. I am running Minecraft 1.5 by the way if that would help... Please Help!
I need help. When I decompile MCP to update my mod it gives me this
== ERRORS FOUND ==
src/minecraft/net/minecraft/src/RenderBlocks.java:4241: missing return statement
}
^
And the whole code is missing, minecraft then just crashes in eclipse. I have re downloaded everything (MCP, Minecraft 1.5, and mod loader too) so it is clearly not just an in what I did. Can any one send me the code for RenderBlocks.java for 1.5 please?
I followed the installation instructions (this isn't my first time using the mod, so I'd like to think I know how to install it by now), but I'm getting the following crash report:
Generated 3/15/13 2:42 PM
-- System Details --
Details:
Minecraft Version: 1.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_08-ea, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 380305408 bytes (362 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: ModLoader, EntityRendererProxy, BaseMod, ...[com.prupe.mcpatcher.MCPatcherUtils, Config, MCLogger, ...], [com.prupe.mcpatcher.mod.ColorizeItem, AAHelper, TessellatorUtils, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.5
java.lang.NoClassDefFoundError: Lbspkrs/util/ModVersionChecker;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at ModLoader.setupProperties(ModLoader.java:1741)
at ModLoader.addMod(ModLoader.java:342)
at ModLoader.readFromModFolder(ModLoader.java:1202)
at ModLoader.init(ModLoader.java:737)
at ModLoader.addAllRenderers(ModLoader.java:205)
at bgs.<init>(RenderManager.java:97)
at bgs.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:259)
at avp.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:505)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: bspkrs.util.ModVersionChecker
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more
--- END ERROR REPORT ba4fb4a2 ----------
Naturally I've upgraded to 1.5. The only other thing I'm running at this point is mcpatcher.
I even downloaded Modloader twice just in case the initial download was corrupt. No luck.
I followed the installation instructions (this isn't my first time using the mod, so I'd like to think I know how to install it by now), but I'm getting the following crash report:
Generated 3/15/13 2:42 PM
-- System Details --
Details:
Minecraft Version: 1.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_08-ea, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 380305408 bytes (362 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: ModLoader, EntityRendererProxy, BaseMod, ...[com.prupe.mcpatcher.MCPatcherUtils, Config, MCLogger, ...], [com.prupe.mcpatcher.mod.ColorizeItem, AAHelper, TessellatorUtils, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.5
java.lang.NoClassDefFoundError: Lbspkrs/util/ModVersionChecker;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at ModLoader.setupProperties(ModLoader.java:1741)
at ModLoader.addMod(ModLoader.java:342)
at ModLoader.readFromModFolder(ModLoader.java:1202)
at ModLoader.init(ModLoader.java:737)
at ModLoader.addAllRenderers(ModLoader.java:205)
at bgs.<init>(RenderManager.java:97)
at bgs.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:259)
at avp.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:505)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: bspkrs.util.ModVersionChecker
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more
--- END ERROR REPORT ba4fb4a2 ----------
Naturally I've upgraded to 1.5. The only other thing I'm running at this point is mcpatcher.
I even downloaded Modloader twice just in case the initial download was corrupt. No luck.
Quick! Empty your %appdata%\.minecraft\mods folder! Before it's too late!!!
Quick! Empty your %appdata%\.minecraft\mods folder! Before it's too late!!!
It is empty. Did I post the wrong error report? Here's a fresh one:
-- System Details --
Details:
Minecraft Version: 1.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_08-ea, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 446877496 bytes (426 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: ModLoader, EntityRendererProxy[com.prupe.mcpatcher.MCPatcherUtils, Config, MCLogger, ...], [com.prupe.mcpatcher.mod.ColorizeItem, AAHelper, TessellatorUtils, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.5
LWJGL: 2.4.2
OpenGL: GeForce GTX 670M/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: mcpatcher-converted-WesterosCraft.zip
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
java.lang.IllegalAccessError: tried to access method bfy.c(I)V from class com.prupe.mcpatcher.TexturePackAPI
at com.prupe.mcpatcher.TexturePackAPI.bindTexture(TexturePackAPI.java:223)
at com.prupe.mcpatcher.mod.MipmapHelper.copySubTexture(MipmapHelper.java:119)
at bii.a(SourceFile:288)
at bif.l(TextureStitched.java:136)
at bil.c(SourceFile:166)
at bfy.b(RenderEngine.java:394)
at net.minecraft.client.Minecraft.l(SourceFile:1058)
at net.minecraft.client.Minecraft.K(SourceFile:572)
at net.minecraft.client.Minecraft.run(SourceFile:524)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 3bdddcf8 ----------
I need to know that too
You have to use .setUnlocalizedName now. Replace .setBlockName and .setItemName with the new code.
Delete the .addOverride. In fact, you have to completely remove these lines.
Create the following folders...
textures
>blocks
>items
Put the mod image files in one of the folders.
If it's block, put under blocks texture. If it's items, put under items texture.
Put the folder in a mod folder, the mod folder can be placed anywhere. Make sure it's formatted properly!
When you open a zip file you created, it should contain an example format.
textures <-- Folder to hold the two folders.
─blocks <-- Folder containing block image files.
──block1.png
──block2.png
─items <-- Folder containing item image files.
──item1.png
──item2.png
──item3.png
example.class <-- The class files.
example2.class
This is important if you want the mod to be installable with MCPatcher.
Hope that clear things up!
Check out this thread for an answer to the texture thing.....
http://www.minecraftforum.net/topic/1722368-15-icons-and-block-textures/
ModLoader.addOverride function does not work anymore, is they a new code for it?
[facepalm]There is no new code. Delete any addOverride codes. Read post #29645[/facepalm]
It is a version of the bug reports 1.5.0 Modloader.Redstone display is weird.
Please confirm.
Sorry.
I tried to look at it again. It may be a problem of the MCP.
Is there anyway you can post a sample code? Because that line is the only one that directs the mod to my .png file.
And the whole code is missing, minecraft then just crashes in eclipse. I have re downloaded everything (MCP, Minecraft 1.5, and mod loader too) so it is clearly not just an in what I did. Can any one send me the code for RenderBlocks.java for 1.5 please?
Generated 3/15/13 2:42 PM
-- System Details --
Details:
Minecraft Version: 1.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_08-ea, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 380305408 bytes (362 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: ModLoader, EntityRendererProxy, BaseMod, ...[com.prupe.mcpatcher.MCPatcherUtils, Config, MCLogger, ...], [com.prupe.mcpatcher.mod.ColorizeItem, AAHelper, TessellatorUtils, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.5
java.lang.NoClassDefFoundError: Lbspkrs/util/ModVersionChecker;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at ModLoader.setupProperties(ModLoader.java:1741)
at ModLoader.addMod(ModLoader.java:342)
at ModLoader.readFromModFolder(ModLoader.java:1202)
at ModLoader.init(ModLoader.java:737)
at ModLoader.addAllRenderers(ModLoader.java:205)
at bgs.<init>(RenderManager.java:97)
at bgs.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:259)
at avp.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:505)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: bspkrs.util.ModVersionChecker
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more
--- END ERROR REPORT ba4fb4a2 ----------
Naturally I've upgraded to 1.5. The only other thing I'm running at this point is mcpatcher.
I even downloaded Modloader twice just in case the initial download was corrupt. No luck.
Quick! Empty your %appdata%\.minecraft\mods folder! Before it's too late!!!
It is empty. Did I post the wrong error report? Here's a fresh one:
-- System Details --
Details:
Minecraft Version: 1.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_08-ea, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 446877496 bytes (426 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: ModLoader, EntityRendererProxy[com.prupe.mcpatcher.MCPatcherUtils, Config, MCLogger, ...], [com.prupe.mcpatcher.mod.ColorizeItem, AAHelper, TessellatorUtils, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.5
LWJGL: 2.4.2
OpenGL: GeForce GTX 670M/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: mcpatcher-converted-WesterosCraft.zip
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
java.lang.IllegalAccessError: tried to access method bfy.c(I)V from class com.prupe.mcpatcher.TexturePackAPI
at com.prupe.mcpatcher.TexturePackAPI.bindTexture(TexturePackAPI.java:223)
at com.prupe.mcpatcher.mod.MipmapHelper.copySubTexture(MipmapHelper.java:119)
at bii.a(SourceFile:288)
at bif.l(TextureStitched.java:136)
at bil.c(SourceFile:166)
at bfy.b(RenderEngine.java:394)
at net.minecraft.client.Minecraft.l(SourceFile:1058)
at net.minecraft.client.Minecraft.K(SourceFile:572)
at net.minecraft.client.Minecraft.run(SourceFile:524)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 3bdddcf8 ----------