Okay, so I'm on a Minecraft forum for making a gun mod, and Its a 1.2.5 code, and i want it for 1.4.7. I've gotten most of it to work, but now i cant get one line to work and the error is a .shiftedIndex. If anyone can help, please do!
Here is my mod_###
if you need to see other files, such as the gun and the bullet entity, then say in the comments.
package net.minecraft.src;
import java.io.File;
import net.minecraft.client.Minecraft;
public class mod_TEG extends BaseMod{
Minecraft mc = ModLoader.getMinecraftInstance();
public static final Item Clip = new Item(100001).setMaxStackSize(1).setItemName("Clip");
public static final Item Gun = new ItemPistol(100002, 5, 30, mod_TEG.Clip.shiftedIndex, 0).setItemName("Gun");
//this line here wont work
public void load(){
Clip.iconIndex = ModLoader.addOverride("/gui/items.png", "/yourmod/clip.png");
Gun.iconIndex = ModLoader.addOverride("/gui/items.png", "/yourmod/gun.png");
ModLoader.addName(Clip, "Bullet");
ModLoader.addName(Gun, "Gun");
ModLoader.addRecipe(new ItemStack(Clip, 1), new Object[]{
" ", "II ", " # ", Character.valueOf('#'), Item.stick, Character.valueOf('I'), Item.ingotIron});
ModLoader.addRecipe(new ItemStack(Gun, 1), new Object[]{
"#", Character.valueOf('#'), Block.planks
});
}
public String getVersion(){
return "TEG mod V1.0 for minecraft 1.4.7";
}
}
So today i went and tried to get my friend on my on my other server (:25565 works) and then he could not connect. Yes, i gave him my external ip. It works when i connect with an internal ip but my friends cant connect.
Hello, I am anouncing a new custom map i am working on, and it will be way better that my old one"Zombie Mountain" because it was horrible and the preview wasn't good and all of this other stuff happened and then.... BAM!!! I'm making a new one and it will be on my new channel.
===
lol
So anyways, im going to make a better one and hopefully it does better and has more people who play it.(And a better preview)
F.Y.I. I'm also not releasing the name of it until most of it is done.
I need help. I'm making an hd texture pack and whenever i resize it the image seems to be off. I use gimp and i work on 1.2.5. If annyone has a video they made or saw please send me a link.
0
i tried ItemID unless its itemID without the caps.
0
nah, unless i have to edit my gun file. Thanks for the help though
0
Here is my mod_###
if you need to see other files, such as the gun and the bullet entity, then say in the comments.
0
clip.shiftedIndex,
it red underlines the shiftedIntex part.
Someone help plz?
0
Can someone help plz?
0
0
0
i did port foward and it used to work nut now it doenst
0
please help if you can.
0
my decompile.bat says this following
== 7.23 <Data: 7.23, client: 1.4.5, server: 1.4.5> ==
Searching fo javac.exe in C:/ProgramFiles
# found ff, ff patches, srgs,name csvs, doc csvs, param csvs, renumber csv, ast
yle, astly config
!! Updates availible. Please run updatemcp to get them. !!
Creating Retroguard config files
!! Modified jar detected. Unpredictable results !!
== Decompiling client using fernflower ==
Creating SRGs
Applying Retroguard
'"C:\Program files\jdk1.6.0_35\bin\java" -cp "runtime\bin\reroguard.jar;li
b;lib\*;jars\bin\mine...' failed : 1
== ERRORS FOUND ==
Unrecoverable error during obfuscation, see log file for details.
Retroguard error: COM.rl.obf.classfile.ClassFileExeption: ClassNotFound com/goo
gle/common/base/Supplier
============
Decompile failed
Press any key to continue . . .
if anyone can help please do!
0
===
lol
So anyways, im going to make a better one and hopefully it does better and has more people who play it.(And a better preview)
F.Y.I. I'm also not releasing the name of it until most of it is done.
0
0
[video][/video]
Get It Here: http://www.mediafire...3g1co22405ocoqs