1, when I am compiling the code with mcp where does it come out? Someone said reobf but nothing was there. Or, since I use ecplipse where does eclipse put the code?
There is a reobfuscate.bat file that, if you double-click it, will compile your modified files and will put them in the reobf folder. recompile.bat only recompiles for testing, I think.
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
I'm getting an error report when I try to craft the new types of torches (except one):
2 mods loaded
Minecraft Forge 3.3.7.135
FML vnull.null.null.null
Forge Mod Loader version null.null.null.null for Minecraft null
mod_DatMod : Available (src)
mod_MinecraftForge : Available (src)
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT cbdb3567 --------
Generated 12-07-12 22:03
Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.7.0_01, Oracle Corporation
VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: ATI Mobility Radeon HD 4250 version 3.2.9756 Compatibility Profile Context, ATI Technologies Inc.
java.lang.NullPointerException
at net.minecraft.src.ItemStack.getIconIndex(ItemStack.java:106)
at net.minecraft.src.RenderItem.renderItemIntoGUI(RenderItem.java:292)
at net.minecraft.src.GuiContainer.drawSlotInventory(GuiContainer.java:223)
at net.minecraft.src.GuiContainer.drawScreen(GuiContainer.java:72)
at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:972)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:873)
at net.minecraft.client.Minecraft.run(Minecraft.java:750)
at java.lang.Thread.run(Thread.java:722)
--- END ERROR REPORT 9e300a2d ----------
When i opened the decompile.bat Thingy an Error came up and the error was
== ERRORS FOUND ==
Unrecoverable error during obfuscation, see log file for details.
RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound BaseMod
When i opened the decompile.bat Thingy an Error came up and the error was
== ERRORS FOUND ==
Unrecoverable error during obfuscation, see log file for details.
RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound BaseMod
==================
Decompile failed
Press any key to continue . . .
Please help me get this fixed
Download a new MCP and fresh jars. Then add ModLoader and try to decompile again.
public String getTextureFile()
{
return "/mikol/terrain.png";
}
}
is not working ?
That is a Forge method only.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
You probably get overwhelmed with these questions but how do you make a mob avoid you if you have a certain item in your hand?
I believe you should look in the Ocelot code, as it avoids you unless you are holding something, but there may be a way to get it so that it avoids you when you are holding something, but I am not sure
I believe you should look in the Ocelot code, as it avoids you unless you are holding something, but there may be a way to get it so that it avoids you when you are holding something, but I am not sure
Thanks
and another question
Character.valueof('#'), Block.dirt<---this always dirt or i can change that?
Special message to people who tend to forget something:
Do NOT forget to register a block whenever you make a new one!
If you do not register a block, whenever your unregistered block wants to show up in a container or as a crafting result, the game will crash.
Special message to people who tend to forget something:
Do NOT forget to register a block whenever you make a new one!
If you do not register a block, whenever your unregistered block wants to show up in a container or as a crafting result, the game will crash.
So...
can i change ''dirt'' to ''my block''
dont angry to me D:
im just wanna to know
sorry to my bad english D:
So...
can i change ''dirt'' to ''my block''
dont angry to me D:
im just wanna to know
sorry to my bad english D:
If you want to change the in-game name, there is no problem with that. However, if you want to change the variable/symbol/whatever of your block, you will have to change it from ''dirt'' to ''myblock'' everywhere you put it. Tell me if it was confusing, my native language isn't english neither.
If you want to change the in-game name, there is no problem with that. However, if you want to change the variable/symbol/whatever of your block, you will have to change it from ''dirt'' to ''myblock'' everywhere you put it. Tell me if it was confusing, my native language isn't english neither.
Thanks
but...
if i add a crafting recipe for my custom block with custom item
but i always get error
or my item is not registered??
Thanks
but...
if i add a crafting recipe for my custom block with custom item
but i always get error
or my item is not registered??
You don't need to register an item.
Does the error occur in-game or when recompiling? If it is when you recompile, could you show me the crafting recipe code line? If it is in-game, well, you forgot to register the block using this:
There is a reobfuscate.bat file that, if you double-click it, will compile your modified files and will put them in the reobf folder. recompile.bat only recompiles for testing, I think.
FIXED
Answering to that is useless.
Look at the tutorial again, I've updated it.
together they are powerful beyond imagination."
== ERRORS FOUND ==
Unrecoverable error during obfuscation, see log file for details.
RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound BaseMod
==================
Decompile failed
Press any key to continue . . .
Please help me get this fixed
Also how do you make a portal work?
The wolf code shows exactly how to make mobs tamable.
Download a new MCP and fresh jars. Then add ModLoader and try to decompile again.
With Forge...
You would need to create custom AI. I recommend using EntityAITempt as a base but reverse the entity's waypoints away from the player.
Thanks
That is a Forge method only.
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI believe you should look in the Ocelot code, as it avoids you unless you are holding something, but there may be a way to get it so that it avoids you when you are holding something, but I am not sure
Thanks
and another question
Character.valueof('#'), Block.dirt<---this always dirt or i can change that?
Do NOT forget to register a block whenever you make a new one!
If you do not register a block, whenever your unregistered block wants to show up in a container or as a crafting result, the game will crash.
So...
can i change ''dirt'' to ''my block''
dont angry to me D:
im just wanna to know
sorry to my bad english D:
If you want to change the in-game name, there is no problem with that. However, if you want to change the variable/symbol/whatever of your block, you will have to change it from ''dirt'' to ''myblock'' everywhere you put it. Tell me if it was confusing, my native language isn't english neither.
Thanks
but...
if i add a crafting recipe for my custom block with custom item
but i always get error
or my item is not registered??
You don't need to register an item.
Does the error occur in-game or when recompiling? If it is when you recompile, could you show me the crafting recipe code line? If it is in-game, well, you forgot to register the block using this:
i mean add recipe for custom item with my custom item
''Using Your Own Added Item''
i mean like tutorial above