This is really helpful! Thanks :smile.gif:
Question: If in the armor tutorial, you set the enchantment value to 0, does it make the item unenchantable? because I'm making armor with fire resistance with a full set and it would be overpowered if you could have enchantments on it.
I got an error when I clicked install.sh (I am on a Mac )
bash: /Users/my username/Documents/Projects/Minecraft/mcp56/forge/install.sh: /bin/bash^M: bad interpreter: No such file or directory
my names-imac-2:forge my name$ bash /Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 2:
MinecraftForge Linux Setup Program
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 5:
/Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh: line 6: /dev/n: Permission denied
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 7:
mkdir: conf\r: File exists
cp: forge/conf/*: No such file or directory
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 11:
/Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh: line 35: synta' error near unexpected token `do
/Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh: line 35: ` ' do
make sure all your files that are either a block file or an item file have:
import net.minecraft.src.forge.ITextureProvider;
implements ITextureProvider
public String getTextureFile()
{
return "yourimagehere.png";
}make sure all your files that are either a block file or an item file have:
import net.minecraft.src.forge.ITextureProvider;
implements ITextureProvider
public String getTextureFile()
{
return "yourimagehere.png";
}
for some reason the post got deleted
my apologies
And what exactly are you suppose to add under the switch statement to add more blocks?
And finally:
I am still getting the error where the texture is a white block with 1 black pixel on the side
1st Question's Answer: Yes. Just extends Block and use the constructor
2nd Question's Answer: Why? I use it... What is the error?
3rd Question's Answer: No... That method is not the way to go. Just add
4th Question's Answer: Send me your code and all the spritesheets. I'll try to fix that error for you... It pestered me for a while
I'll PM you everything this afternoon. Thanks
Question: If in the armor tutorial, you set the enchantment value to 0, does it make the item unenchantable? because I'm making armor with fire resistance with a full set and it would be overpowered if you could have enchantments on it.
bash: /Users/my username/Documents/Projects/Minecraft/mcp56/forge/install.sh: /bin/bash^M: bad interpreter: No such file or directory
my names-imac-2:forge my name$ bash /Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 2:
MinecraftForge Linux Setup Program
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 5:
/Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh: line 6: /dev/n: Permission denied
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 7:
mkdir: conf\r: File exists
cp: forge/conf/*: No such file or directory
: command not foundnts/Projects/Minecraft/mcp56/forge/install.sh: line 11:
/Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh: line 35: synta' error near unexpected token `do
/Users/my name/Documents/Projects/Minecraft/mcp56/forge/install.sh: line 35: ` ' do
but i g2g right now
i'll tell you as soon as i get back
I'm going to pm an administrator cause I didn't do anything.
I had to copy and paste every post into Wordpad so I could read it
import net.minecraft.src.forge.ITextureProvider;
implements ITextureProvider
public String getTextureFile()
{
return "yourimagehere.png";
}make sure all your files that are either a block file or an item file have:
import net.minecraft.src.forge.ITextureProvider;
implements ITextureProvider
public String getTextureFile()
{
return "yourimagehere.png";
}
?
For modloader to read it has to be mod_XXXX
My bad lol