whaling123
-
Posts
6 -
Joined
-
Last visited
Posts posted by whaling123
-
-
I have been having problems with getting my mob to show up i have tried very many things (all that i can think of) if anyone can help me that would be great
-
Not sure if this will help still somewhat new to this. And this is in the actual mod class and not the custom block class which the other one was located
@Mod(modid = "Turtorial", name = "Tutorial", version = "1.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class Tutorial {
public static final String modid = "Tutorial";
-
So i just was testing some things and i could not get my textures to set right, i put my folder for the textures in TutorialMod\src\mods\tut.mod\textures\blocks and so here is the code if anyone could help me that would be great!
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
public class Blocktutblock extends Block {
public Blocktutblock(int par1, Material par2Material) {
super(par1, par2Material);
this.setCreativeTab(CreativeTabs.tabBlock);
}
@SideOnly(Side.CLIENT)
public void register(IconRegister par1IconRegister)
{
this.blockIcon = par1IconRegister.registerIcon(Tutorial.modid + ":" + this.getUnlocalizedName2());
}
}
Trouble rendering mobs
in Modder Support
Posted
Entity Class
Model Class
Render Class
Main Class Edited