[answered] What do i do when the coding is done?
4 posters
MC Modding :: Help :: Help
Page 1 of 1
[answered] What do i do when the coding is done?
When im done with all the coding then how/what do i do to be able to play with the mod that i made for Minecraft? Plz answere quick cuz im allmost done with the coding! (Im done recompiling,do i reobfuscate?
Last edited by thedirtyassassin on Sun Oct 30, 2011 3:02 pm; edited 2 times in total
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
indeed and after reobf-ing put all the files in the reobf folder in your minecraft.jar with modloader
ikke009- Member
- Posts : 65
Join date : 2011-10-24
Age : 30
Location : The netherlands
Re: [answered] What do i do when the coding is done?
and how do i do that ?
edit 1 : Can you make a tutorial on what i need to do?
edit 1 : Can you make a tutorial on what i need to do?
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
go in your folder, recompile, reobf, go in reobf folder, copy all files in there, put em in your %appdata%/roaming/.minecraft/bin/minecraft.jar, run minecraft, have fun. cant be too hard can it
ikke009- Member
- Posts : 65
Join date : 2011-10-24
Age : 30
Location : The netherlands
Re: [answered] What do i do when the coding is done?
no i thing it cant THX!
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
It does not work i think I dont know where that reobfuscate folder is
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
i found the folder. but help!! i get errors when i open up minecraft. do i put the .class files in minecraft.jar or do i put the minecraft folder that is in the reobf foler in minecaft.jar?
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
this is what it says in the modloader.txt after i did try to play minecraft with my mod:
- Code:
okt. 30, 2011 9:26:20 PM ModLoader readFromClassPath
FINER: Zip found.
okt. 30, 2011 9:26:21 PM ModLoader getUniqueItemSpriteIndex
FINER: THROW
java.lang.Exception: No registry for this texture: /gui/SlimyStick.png
at ModLoader.getUniqueSpriteIndex(ModLoader.java:661)
at ModLoader.addOverride(ModLoader.java:329)
at mod_SlimyStick.<init>(mod_SlimyStick.java:9)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:275)
at ModLoader.readFromClassPath(ModLoader.java:1114)
at ModLoader.init(ModLoader.java:825)
at ModLoader.AddAllRenderers(ModLoader.java:186)
at aam.<init>(aam.java:61)
at aam.<clinit>(aam.java:10)
at net.minecraft.client.Minecraft.a(SourceFile:259)
at net.minecraft.client.Minecraft.run(SourceFile:629)
at java.lang.Thread.run(Unknown Source)
okt. 30, 2011 9:26:31 PM ModLoader addMod
FINE: Mod Loaded: "mod_SlimyStick 1.8.1" from mod_SlimyStick.class
okt. 30, 2011 9:26:31 PM ModLoader getUniqueItemSpriteIndex
FINER: THROW
java.lang.Exception: No registry for this texture: /My folder!/StickyStickBlock.png
at ModLoader.getUniqueSpriteIndex(ModLoader.java:661)
at ModLoader.addOverride(ModLoader.java:329)
at mod_StickyStickBlock.<init>(mod_StickyStickBlock.java:15)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:275)
at ModLoader.readFromClassPath(ModLoader.java:1114)
at ModLoader.init(ModLoader.java:825)
at ModLoader.AddAllRenderers(ModLoader.java:186)
at aam.<init>(aam.java:61)
at aam.<clinit>(aam.java:10)
at net.minecraft.client.Minecraft.a(SourceFile:259)
at net.minecraft.client.Minecraft.run(SourceFile:629)
at java.lang.Thread.run(Unknown Source)
okt. 30, 2011 9:26:31 PM ModLoader addMod
FINE: Mod Loaded: "mod_StickyStickBlock 1.8.1" from mod_StickyStickBlock.class
okt. 30, 2011 9:26:31 PM ModLoader getUniqueItemSpriteIndex
FINER: THROW
java.lang.Exception: No registry for this texture: /My folder!/GlowBlock.png
at ModLoader.getUniqueSpriteIndex(ModLoader.java:661)
at ModLoader.addOverride(ModLoader.java:329)
at mod_GlowBlock.<init>(mod_GlowBlock.java:15)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:275)
at ModLoader.readFromClassPath(ModLoader.java:1114)
at ModLoader.init(ModLoader.java:825)
at ModLoader.AddAllRenderers(ModLoader.java:186)
at aam.<init>(aam.java:61)
at aam.<clinit>(aam.java:10)
at net.minecraft.client.Minecraft.a(SourceFile:259)
at net.minecraft.client.Minecraft.run(SourceFile:629)
at java.lang.Thread.run(Unknown Source)
okt. 30, 2011 9:26:31 PM ModLoader addMod
FINE: Mod Loaded: "mod_GlowBlock 1.8.1" from mod_GlowBlock.class
okt. 30, 2011 9:26:31 PM ModLoader AddAllRenderers
FINE: Initialized
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
you might want to make some textures for your block.. xD right now your minecraft doesnt know what textures to put in for your items/blocks.
if you dont know how read the basic block and item making tutorials first
if you dont know how read the basic block and item making tutorials first
ikke009- Member
- Posts : 65
Join date : 2011-10-24
Age : 30
Location : The netherlands
Re: [answered] What do i do when the coding is done?
I have made the texture's but still it wont work!
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
and you made the override like this?
edit: might as well post your code xD
- Code:
slimystick.iconIndex = ModLoader.addOverride("/gui/items.png", "/dirtyasassin/SlimyStick.png");
edit: might as well post your code xD
ikke009- Member
- Posts : 65
Join date : 2011-10-24
Age : 30
Location : The netherlands
Re: [answered] What do i do when the coding is done?
mod_SlimyStick
mod_StickyStickBlock
mod_GlowBlock
- Code:
package net.minecraft.src;
public class mod_SlimyStick extends BaseMod
{
public static final Item SlimyStick = new Item(3999).setItemName("SlimyStick");
public mod_SlimyStick()
{
SlimyStick.iconIndex = ModLoader.addOverride("/gui/SlimyStick.png", "/SlimyStick.png");
ModLoader.AddName(SlimyStick, "SlimyStick");
ModLoader.AddRecipe(new ItemStack(SlimyStick, 1), new Object[] {
"X", "P", Character.valueOf('P'), Item.stick, Character.valueOf('X'), Item.slimeBall,
});
}
public String Version()
{
return "1.8.1";
}
}
mod_StickyStickBlock
- Code:
package net.minecraft.src;
public class mod_StickyStickBlock extends BaseMod
{
public static Block StickyStickBlock = new BlockStickyStickBlock(199, 0).setHardness(1.0F).setResistance(1.0F).setLightValue(0.1F).setBlockName("StickyStickBlock");
public String Version()
{
return "1.8.1";
}
public mod_StickyStickBlock()
{
ModLoader.RegisterBlock(StickyStickBlock);
StickyStickBlock.blockIndexInTexture = ModLoader.addOverride("/My folder!/StickyStickBlock.png", "/StickyStickBlock.png");
ModLoader.AddName(StickyStickBlock, "StickyStickBlock");
ModLoader.AddRecipe(new ItemStack(StickyStickBlock, 2), new Object[] {
"###", "XXX", "###", Character.valueOf('#'), Block.planks, Character.valueOf('X'), Item.slimeBall
});
}
}
mod_GlowBlock
- Code:
package net.minecraft.src;
public class mod_GlowBlock extends BaseMod
{
public static Block GlowBlock = new BlockGlowBlock(198, 0).setHardness(1.0F).setResistance(1.0F).setLightValue(1.0F).setBlockName("GlowBlock");
public String Version()
{
return "1.8.1";
}
public mod_GlowBlock()
{
ModLoader.RegisterBlock(GlowBlock);
GlowBlock.blockIndexInTexture = ModLoader.addOverride("/My folder!/GlowBlock.png", "/GlowBlock.png");
ModLoader.AddName(GlowBlock, "GlowBlock");
ModLoader.AddRecipe(new ItemStack(GlowBlock, 10), new Object[] {
"###", "XXX", "###", Character.valueOf('#'), Block.glowStone, Character.valueOf('X'), Block.glass
});
}
}
thedirtyassassin- Member
- Posts : 28
Join date : 2011-10-30
Location : In your dreams!
Re: [answered] What do i do when the coding is done?
SlimyStick.iconIndex = ModLoader.addOverride("/gui/items.png", "/slimystick.png");
StickyStickBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/stickystickblock.png");
GlowBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/glowblock.png");
Try that instead, and put slimystick.png & stickystickblock.png & glowblock.png inside minecraft.jar - NOT in the gui folder or anywhere else.
StickyStickBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/stickystickblock.png");
GlowBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/glowblock.png");
Try that instead, and put slimystick.png & stickystickblock.png & glowblock.png inside minecraft.jar - NOT in the gui folder or anywhere else.
jaydenbadboii- Member
- Posts : 2
Join date : 2011-10-27
Re: [answered] What do i do when the coding is done?
ur late man.. this was answered days ago...
ikke009- Member
- Posts : 65
Join date : 2011-10-24
Age : 30
Location : The netherlands
Similar topics
» [Answered] tree
» [Answered]Reobfuscate
» [answered] Help with crashing
» [Answered] ore mining help
» [Answered] Help with generating ores
» [Answered]Reobfuscate
» [answered] Help with crashing
» [Answered] ore mining help
» [Answered] Help with generating ores
MC Modding :: Help :: Help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum