Everything posted by starwarsmace
-
Making A Mod To Decrease Time Between Music
Hello. I want to make a mod where the time between when the background music becomes shorter. Is there a way to do this? Thanks in advance, starwarsmace
-
[1.6.4]Entity Rendering
Anyone?
-
[1.6.4]Entity Rendering
Hello guys. So I made an entity, model and render file and it works. Only problem is that my entity keeps on jumping around and stuff. Heres my render file: package rotten_flesh_mod; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.entity.passive.EntityCow; import net.minecraft.util.ResourceLocation; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class RenderTamedZombie extends RenderLiving { private static final ResourceLocation Your_Texture = new ResourceLocation("rotten_flesh_mod:textures/entity/tamedZombie.png"); //refers to:assets/yourmod/textures/entity/yourtexture.png public RenderTamedZombie(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); } protected ResourceLocation getTamedTextures(EntityTamedZombie par1EntityCow) { return Your_Texture; } @Override protected ResourceLocation getEntityTexture(Entity par1Entity) { return this.getTamedTextures((EntityTamedZombie)par1Entity); } } Heres a video of what happened. http://i1294.photobucket.com/albums/b605/starwarsmace/th_javaw2014-02-1512-08-05-176_zps2e3d193e.jpg[/img] Click the img to see the video.
-
[1.6.4]How to make a spawn egg
Thanks but what is the first int? Edit: Nvm I found out its the id for you entity.
-
[1.6.4]How to make a spawn egg
Hello guys. I want add a spawn egg for my entity but Im not sure how to do it. Can someone please give me some code to put into my mod. Thanks.
-
[1.6.4]Custom Tnt
Oh sorry not to update you guys. I actually changed this part to my nuke but it still didn't work.
-
[1.6.4]Custom Tnt
Does anyone else know?
-
[1.6.4]Custom Tnt
Oh well. I guess Ill scratch this or something. Thanks for trying though.
-
[1.6.4]Rotten Flesh Mod
Anyone have any suggestions?
-
[1.6.4]Custom Tnt
I dont have that in my RenderTntPrimed What version of forge are you using? Im using 9.11.1.965
-
Could someone explain this error to me
Was it working before a certain code was put in? If so then please give us that code.
-
[1.7.4]Getting My Mod Out Of Eclipse And Ready To Download And Install?
Or if you have gradle installed(doesnt really matter if you dont') you do gradle build.
-
[1.6.4]Custom Tnt
Here you go. Enitity Class: package rotten_flesh_mod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; public class EntityRottenFleshNukePrimed extends Entity { /** How long the fuse is */ public int fuse; private EntityLivingBase tntPlacedBy; public EntityRottenFleshNukePrimed(World par1World) { super(par1World); this.fuse=600; this.preventEntitySpawning = true; this.setSize(0.98F, 0.98F); this.yOffset = this.height / 2.0F; } public EntityRottenFleshNukePrimed(World par1World, double par2, double par4, double par6, EntityLivingBase par8EntityLivingBase) { this(par1World); this.setPosition(par2, par4, par6); float f = (float)(Math.random() * Math.PI * 2.0D); this.motionX = (double)(-((float)Math.sin((double)f)) * 0.02F); this.motionY = 0.20000000298023224D; this.motionZ = (double)(-((float)Math.cos((double)f)) * 0.02F); this.fuse = 600; this.prevPosX = par2; this.prevPosY = par4; this.prevPosZ = par6; this.tntPlacedBy = par8EntityLivingBase; } protected void entityInit() {} /** * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to * prevent them from trampling crops */ protected boolean canTriggerWalking() { return false; } /** * Returns true if other Entities should be prevented from moving through this Entity. */ public boolean canBeCollidedWith() { return !this.isDead; } /** * Called to update the entity's position/logic. */ public void onUpdate() { this.prevPosX = this.posX; this.prevPosY = this.posY; this.prevPosZ = this.posZ; this.motionY -= 0.03999999910593033D; this.moveEntity(this.motionX, this.motionY, this.motionZ); this.motionX *= 0.9800000190734863D; this.motionY *= 0.9800000190734863D; this.motionZ *= 0.9800000190734863D; if (this.onGround) { this.motionX *= 0.699999988079071D; this.motionZ *= 0.699999988079071D; this.motionY *= -0.5D; } if (this.fuse-- <= 0) { this.setDead(); if (!this.worldObj.isRemote) { this.explode(); } } else { this.worldObj.spawnParticle("smoke", this.posX, this.posY + 0.5D, this.posZ, 0.0D, 0.0D, 0.0D); } } private void explode() { float f = 30F; this.worldObj.createExplosion(this, this.posX, this.posY, this.posZ, f, true); } /** * (abstract) Protected helper method to write subclass entity data to NBT. */ protected void writeEntityToNBT(NBTTagCompound par1NBTTagCompound) { par1NBTTagCompound.setByte("Fuse", (byte)this.fuse); } /** * (abstract) Protected helper method to read subclass entity data from NBT. */ protected void readEntityFromNBT(NBTTagCompound par1NBTTagCompound) { this.fuse = par1NBTTagCompound.getByte("Fuse"); } @SideOnly(Side.CLIENT) public float getShadowSize() { return 0.0F; } /** * returns null or the entityliving it was placed or ignited by */ public EntityLivingBase getTntPlacedBy() { return this.tntPlacedBy; } }
-
[1.6.4]Custom Tnt
I think you saw par1EntityTNTPrimed. Read it in-depth and youll see what I did.
-
SpawnEgg Names
Thats for the Blocks and Items i guess. What about Mobs? You can name mobs with lang files. Here is an example of the usage of a lang file being used to name in entity.(This was in vanilla minecraft) entity.Slime.name=Slime
-
Suggestions for Efficient Mod Making Please?
My entire post on it WAS a tutorial. It's that freaking simple. Or see below. Yes, that's right. And yes, you do. Ok thanks for the lang tutorial.
-
[1.6.4]Custom Tnt
Where did you find this?
-
[1.6.4]BetterMods
BetterArmor adds Malachite Ore, Glass Armor and Tools, it had obsidian but it was removed to undergo some changes, The armor of Life, and if I missed somethings you can check out bettermods.weebly.com Alright Ill check out the website.
-
[1.6.4]Custom Tnt
Anyone? I really need this for my mod.
-
[1.6.4]Custom Tnt
That conclusion makes no sense. Is the render file called now or not? Sorry about my bad wording. Yes it does call the render file.
-
[1.6.4]Custom Tnt
Here is the client proxy: package rotten_flesh_mod; import cpw.mods.fml.client.registry.RenderingRegistry; public class ClientProxy extends CommonProxy{ @Override public void registerRenderers() { RenderingRegistry.registerEntityRenderingHandler(EntityRottenFleshGrenade.class, new RenderRottenFleshGrenade(RottenFleshMod.rottenFleshGrenade)); RenderingRegistry.registerEntityRenderingHandler(EntityRottenFleshNukePrimed.class, new RenderRottenFleshNukePrimed()); } public int addArmor(String par1){ return RenderingRegistry.addNewArmourRendererPrefix(par1); } } And heres the main mod file: package rotten_flesh_mod; import net.minecraft.block.Block; import net.minecraft.block.StepSound; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.EnumToolMaterial; import net.minecraft.item.Item; import net.minecraft.item.ItemAxe; import net.minecraft.item.ItemFood; import net.minecraft.item.ItemHoe; import net.minecraft.item.ItemPickaxe; import net.minecraft.item.ItemSoup; import net.minecraft.item.ItemSpade; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; import net.minecraft.potion.Potion; import net.minecraftforge.common.EnumHelper; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid=RottenFleshMod.modid,name="Rotten Flesh Mod",version="1.3") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class RottenFleshMod { @Instance(value = RottenFleshMod.modid) public static RottenFleshMod instance; @SidedProxy(clientSide="rotten_flesh_mod.ClientProxy", serverSide="rotten_flesh_mod.CommonProxy") public static CommonProxy proxy; public static final String modid ="rotten_flesh_mod"; //Items //Tools public static Item rottenFleshPickaxe; public static Item rottenFleshAxe; public static Item rottenFleshShovel; public static Item rottenFleshSword; public static Item rottenFleshHoe; //Rings public static Item rottenFleshRingFlyingOFF; public static Item rottenFleshRingFlyingON; public static Item rottenFleshRing; public static Item rottenFleshRingInvisOFF; public static Item rottenFleshRingInvisON; //Wand public static Item rottenFleshWandLightningTop; public static Item rottenFleshWandLightning; public static Item rottenFleshWandFireBall; public static Item rottenFleshWandFireBallTop; public static Item rottenFleshWandZombieTamer; public static Item rottenFleshWandZombieTamerTop; //Armor public static Item rottenFleshSpeedBoots; //Misc public static Item rottenFleshStick; public static Item cookedZombieFlesh; public static Item rottenFleshGrenade; public static Item cookedZombieFleshSoup; public static Item goldenRottenFlesh; //Blocks public static Block rottenFleshBlock; public static Block cookedZombieFleshBlock; public static Block rottenFleshSpawner; public static Block cookedZombieFleshSpawner; public static Block rottenFleshRainMaker; public static Block rottenFleshNuke; //Enums public static EnumToolMaterial rottenFleshMaterial; @EventHandler public void preInit(FMLPreInitializationEvent event){ } @EventHandler public void load(FMLInitializationEvent event){ proxy.registerServerTickHandler(); cookedZombieFlesh=(new ItemFood(4744,6 ,0.2F, false).setUnlocalizedName("cookedZombieFlesh").setCreativeTab(CreativeTabs.tabFood).setTextureName("rotten_flesh_mod:cooked_zombie_flesh")); rottenFleshSpawner=(new RottenFleshSpawner(3002,Material.ground).setUnlocalizedName("rottenFleshSpawner").setCreativeTab(CreativeTabs.tabBlock).setTextureName("rotten_flesh_mod:rotten_flesh_spawner")); cookedZombieFleshSpawner=(new CookedZombieFleshSpawner(3001,Material.ground).setUnlocalizedName("cookedZombieFleshSpawner").setCreativeTab(CreativeTabs.tabBlock).setTextureName("rotten_flesh_mod:cooked_zombie_flesh_spawner")); rottenFleshMaterial=EnumHelper.addToolMaterial("rottenFleshMaterial", 0, 49, 1.5F, 0.0F, 15); rottenFleshPickaxe =(new ItemPickaxe(4745,rottenFleshMaterial).setUnlocalizedName("rottenFleshPickaxe").setCreativeTab(CreativeTabs.tabTools).setTextureName("rotten_flesh_mod:rotten_flesh_pickaxe")); rottenFleshAxe =(new ItemAxe(4746,rottenFleshMaterial).setUnlocalizedName("rottenFleshAxe").setCreativeTab(CreativeTabs.tabTools).setTextureName("rotten_flesh_mod:rotten_flesh_axe")); rottenFleshShovel =(new ItemSpade(4747,rottenFleshMaterial).setUnlocalizedName("rottenFleshShovel").setCreativeTab(CreativeTabs.tabTools).setTextureName("rotten_flesh_mod:rotten_flesh_shovel")); rottenFleshSword =(new ItemSword(4748,rottenFleshMaterial).setUnlocalizedName("rottenFleshSword").setCreativeTab(CreativeTabs.tabCombat).setTextureName("rotten_flesh_mod:rotten_flesh_sword")); rottenFleshHoe=(new ItemHoe(4749,rottenFleshMaterial).setUnlocalizedName("rottenFleshHoe").setCreativeTab(CreativeTabs.tabTools).setTextureName("rotten_flesh_mod:rotten_flesh_hoe")); rottenFleshRingFlyingOFF=(new RottenFleshRingFlyingOFF(4750).setUnlocalizedName("rottenFleshRingFlyingOFF").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshRingFlyingOFF").setMaxStackSize(1)); rottenFleshRingFlyingON=(new RottenFleshRingFlyingON(4751).setUnlocalizedName("rottenFleshRingFlyingON").setTextureName("rotten_flesh_mod:rottenFleshRingFlyingON").setMaxStackSize(1)); rottenFleshRing=(new Item(4752).setUnlocalizedName("rottenFleshRing").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshRing")); rottenFleshRingInvisOFF=(new RottenFleshRingInvisOFF(4753).setUnlocalizedName("rottenFleshRingInvisOFF").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshRingInvisOFF")); rottenFleshRingInvisON=(new RottenFleshRingInvisON(4754).setUnlocalizedName("rottenFleshRingInvisOn").setTextureName("rotten_flesh_mod:rottenFleshRingInvisON")); rottenFleshStick=(new Item(4755).setUnlocalizedName("rottenFleshStick").setCreativeTab(CreativeTabs.tabMaterials).setTextureName("rotten_flesh_mod:rottenFleshStick")); rottenFleshWandLightning=(new RottenFleshWandLightning(4756).setUnlocalizedName("rottenFleshWandLightning").setCreativeTab(CreativeTabs.tabCombat).setTextureName("rotten_flesh_mod:rottenFleshWandLightning")); rottenFleshWandFireBall=(new RottenFleshWandFireBall(4757).setUnlocalizedName("rottenFleshWandFireBall").setCreativeTab(CreativeTabs.tabCombat).setTextureName("rotten_flesh_mod:rottenFleshFireBall")); rottenFleshWandLightningTop=(new Item(4758).setUnlocalizedName("rottenFleshWandLightningTop").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshWandLightningTop")); rottenFleshWandFireBallTop=(new Item(4759).setUnlocalizedName("rottenFleshWandFireBallTop").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshFireBallTop")); rottenFleshBlock=(new Block(3003,Material.ground).setUnlocalizedName("rottenFleshBlock").setCreativeTab(CreativeTabs.tabBlock).setTextureName("rotten_flesh_mod:rottenFleshBlock")); cookedZombieFleshBlock=(new Block(3004,Material.ground).setUnlocalizedName("cookedZombieFleshBlock").setCreativeTab(CreativeTabs.tabBlock).setTextureName("rotten_flesh_mod:cookedZombieFleshBlock")); rottenFleshSpeedBoots = new SpeedBoots(4760,EnumArmorMaterial.CLOTH,proxy.addArmor("RottenFleshSpeedBoot"), 3).setUnlocalizedName("rottenFleshSpeedBoots").setCreativeTab(CreativeTabs.tabCombat).setMaxStackSize(1).setTextureName("rotten_flesh_mod:rottenFleshSpeedBoot"); rottenFleshGrenade= new RottenFleshGrenade(4761).setUnlocalizedName("rottenFleshGrenade").setMaxStackSize(1).setCreativeTab(CreativeTabs.tabCombat).setTextureName("rotten_flesh_mod:rottenfleshgrenade").setMaxStackSize(16); cookedZombieFleshSoup=(new ItemSoup(4762,10).setUnlocalizedName("cookedZombieFleshSoup").setCreativeTab(CreativeTabs.tabFood).setTextureName("rotten_flesh_mod:cooked_zombie_flesh_stew")); rottenFleshWandZombieTamer=(new RottenFleshWandZombieTamer(4763).setUnlocalizedName("rottenFleshWandZombieTamer").setCreativeTab(CreativeTabs.tabTools).setTextureName("rotten_flesh_mod:rottenFleshWandTaming")); rottenFleshWandZombieTamerTop=(new Item(4764).setUnlocalizedName("rottenFleshWandZombieTamerTop").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshWandTamingTop")); goldenRottenFlesh=(new GoldenRottenFlesh(4765, 3, 1.2F, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 5, 1, 1.0F).setUnlocalizedName("goldenRottenFlesh").setTextureName("rotten_flesh_mod:golden_rotten_flesh")); rottenFleshRainMaker=(new RottenFleshRainMaker(3005,Material.ground).setUnlocalizedName("rottenFleshRainMaker").setCreativeTab(CreativeTabs.tabMisc).setTextureName("rotten_flesh_mod:rottenFleshRainMaker")); rottenFleshNuke=(new RottenFleshNuke(3006).setHardness(0.0F).setStepSound(new StepSound("grass", 1.0F, 1.0F)).setUnlocalizedName("rottenFleshNuke").setTextureName("rotten_flesh_mod:rottenFleshNuke")); proxy.registerRenderers(); EntityRegistry.registerModEntity(EntityRottenFleshGrenade.class, "Rotten Flesh Grenade", 1 ,this,64, 10, true); EntityRegistry.registerModEntity(EntityRottenFleshNukePrimed.class, "Rotten Flesh Nuke Primed", 2, this, 64, 10, true); GameRegistry.addRecipe(new ItemStack(rottenFleshSpawner,1),new Object[]{ "XXX","XRX","XXX",'X',new ItemStack(Block.blockGold,1),'R',new ItemStack(Item.rottenFlesh,1) }); GameRegistry.addRecipe(new ItemStack(cookedZombieFleshSpawner,1),new Object[]{ "XXX","XRX","XXX",'X',new ItemStack(Block.blockDiamond,1),'R',new ItemStack(cookedZombieFlesh,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshPickaxe,1),new Object[]{ "XXX"," S "," S ",'X',new ItemStack(Item.rottenFlesh,1),'S',new ItemStack(Item.stick,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshAxe,1),new Object[]{ "XX ","XS "," S ",'X',new ItemStack(Item.rottenFlesh,1),'S',new ItemStack(Item.stick,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshShovel,1),new Object[]{ " X "," S "," S ",'X',new ItemStack(Item.rottenFlesh,1),'S',new ItemStack(Item.stick,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshSword,1),new Object[]{ " X "," X "," S ",'X',new ItemStack(Item.rottenFlesh,1),'S',new ItemStack(Item.stick,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshHoe,1),new Object[]{ "XX "," S "," S ",'X',new ItemStack(Item.rottenFlesh,1),'S',new ItemStack(Item.stick,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshRing,1),new Object[]{ "XXX","X X","XXX",'X',new ItemStack(Item.rottenFlesh,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshRingFlyingOFF,1),new Object[]{ "XFX","XRX","XXX",'X',new ItemStack(Block.blockDiamond,1),'F',new ItemStack(Item.feather),'R',new ItemStack(rottenFleshRing) }); GameRegistry.addRecipe(new ItemStack(rottenFleshRingInvisOFF,1),new Object[]{ "XFX","XRX","XXX",'X',new ItemStack(Block.blockDiamond,1),'F',new ItemStack(Block.glass),'R',new ItemStack(rottenFleshRing) }); GameRegistry.addRecipe(new ItemStack(rottenFleshStick,4),new Object[]{ " "," X "," X ",'X',new ItemStack(Item.rottenFlesh,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshWandLightningTop,1),new Object[]{ "EDN","DRD","DDD",'D',new ItemStack(Block.blockDiamond,1),'R',new ItemStack(Block.blockRedstone),'E',new ItemStack(Item.emerald),'N',new ItemStack(Item.netherStar) }); GameRegistry.addRecipe(new ItemStack(rottenFleshWandLightning,1),new Object[]{ "DRD","GXG","IXI",'X',new ItemStack(rottenFleshStick,1),'R',new ItemStack(rottenFleshWandLightningTop,1),'D',new ItemStack(Item.diamond),'G',new ItemStack(Item.ingotGold),'I',new ItemStack(Item.ingotIron) }); GameRegistry.addRecipe(new ItemStack(rottenFleshBlock,1),new Object[]{ "XXX","XXX","XXX",'X',new ItemStack(Item.rottenFlesh,1) }); GameRegistry.addRecipe(new ItemStack(cookedZombieFleshBlock,1),new Object[]{ "XXX","XXX","XXX",'X',new ItemStack(cookedZombieFlesh,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshWandFireBallTop,1),new Object[]{ "EDN","DRD","DDD",'D',new ItemStack(Block.blockDiamond,1),'R',new ItemStack(Block.glowStone),'E',new ItemStack(Item.emerald),'N',new ItemStack(Item.netherStar) }); GameRegistry.addRecipe(new ItemStack(rottenFleshWandFireBall,1),new Object[]{ "DRD","GXG","IXI",'X',new ItemStack(rottenFleshStick,1),'R',new ItemStack(rottenFleshWandFireBallTop,1),'D',new ItemStack(Item.diamond),'G',new ItemStack(Item.ingotGold),'I',new ItemStack(Item.ingotIron) }); GameRegistry.addRecipe(new ItemStack(rottenFleshSpeedBoots,1),new Object[]{ "GIG","RLR","RLR",'R',new ItemStack(Item.rottenFlesh,1),'G',new ItemStack(Item.ingotGold,1),'I',new ItemStack(Item.ingotIron),'L',new ItemStack(Item.dyePowder,1,4) }); GameRegistry.addRecipe(new ItemStack(rottenFleshGrenade,1),new Object[]{ "GIG","IRI","GIG",'R',new ItemStack(Item.rottenFlesh,1),'G',new ItemStack(Item.gunpowder,1),'I',new ItemStack(Item.ingotIron) }); GameRegistry.addRecipe(new ItemStack(rottenFleshWandZombieTamerTop,1),new Object[]{ "EDN","DRD","DDD",'D',new ItemStack(Block.blockDiamond,1),'R',new ItemStack(Item.rottenFlesh),'E',new ItemStack(Item.emerald),'N',new ItemStack(Item.netherStar) }); GameRegistry.addRecipe(new ItemStack(rottenFleshWandZombieTamer,1),new Object[]{ "DRD","GXG","IXI",'X',new ItemStack(rottenFleshStick,1),'R',new ItemStack(rottenFleshWandZombieTamerTop,1),'D',new ItemStack(Item.diamond),'G',new ItemStack(Item.ingotGold),'I',new ItemStack(Item.ingotIron) }); GameRegistry.addShapelessRecipe(new ItemStack(cookedZombieFleshSoup),new ItemStack(Item.bowlEmpty),new ItemStack(cookedZombieFlesh),new ItemStack(cookedZombieFlesh)); GameRegistry.addRecipe(new ItemStack(goldenRottenFlesh,1),new Object[]{ "GGG","GRG","GGG",'G',new ItemStack(Item.ingotGold,1),'R',new ItemStack(Item.rottenFlesh,1) }); GameRegistry.addRecipe(new ItemStack(rottenFleshRainMaker,1),new Object[]{ "WWW","WRW","WWW",'W',new ItemStack(Item.bucketWater,1),'R',new ItemStack(Item.rottenFlesh,1) }); GameRegistry.addSmelting(Item.rottenFlesh.itemID,new ItemStack(cookedZombieFlesh),0.1F); GameRegistry.registerItem(cookedZombieFlesh, "cookedZombieFlesh"); GameRegistry.registerItem(rottenFleshPickaxe, "rottenFleshPickaxe"); GameRegistry.registerItem(rottenFleshAxe, "rottenFleshAxe"); GameRegistry.registerItem(rottenFleshShovel, "rottenFleshShovel"); GameRegistry.registerItem(rottenFleshSword, "rottenFleshSword"); GameRegistry.registerItem(rottenFleshHoe, "rottenFleshHoe"); GameRegistry.registerItem(rottenFleshRingFlyingOFF, "rottenFleshRingFlyingOFF"); GameRegistry.registerItem(rottenFleshRingFlyingON, "rottenFleshRingFlyingON"); GameRegistry.registerItem(rottenFleshRing, "rottenFleshRing"); GameRegistry.registerItem(rottenFleshRingInvisOFF, "rottenFleshRingInvisOFF"); GameRegistry.registerItem(rottenFleshRingInvisON, "rottenFleshRingInvisON"); GameRegistry.registerItem(rottenFleshStick, "rottenFleshStick"); GameRegistry.registerItem(rottenFleshWandLightning, "rottenFleshWandLightning"); GameRegistry.registerItem(rottenFleshWandLightningTop, "rottenFleshWandLightningTop"); GameRegistry.registerItem(rottenFleshWandFireBall, "rottenFleshWandFireBall"); GameRegistry.registerItem(rottenFleshWandFireBallTop, "rottenFleshWandFireBallTop"); GameRegistry.registerItem(rottenFleshSpeedBoots, "rottenFleshSpeedBoots"); GameRegistry.registerItem(rottenFleshGrenade, "rottenFleshGrenade"); GameRegistry.registerItem(cookedZombieFleshSoup, "cookedZombieFleshSoup"); GameRegistry.registerItem(rottenFleshWandZombieTamer, "rottenFleshWandZombieTamer"); GameRegistry.registerItem(rottenFleshWandZombieTamerTop, "rottenFleshWandZombieTamerTop"); GameRegistry.registerItem(goldenRottenFlesh, "goldenRottenFlesh"); GameRegistry.registerBlock(cookedZombieFleshSpawner, modid+cookedZombieFleshSpawner.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(rottenFleshSpawner, modid+rottenFleshSpawner.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(rottenFleshBlock, modid+rottenFleshBlock.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(cookedZombieFleshBlock, modid+cookedZombieFleshBlock.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(rottenFleshRainMaker, modid+rottenFleshRainMaker.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(rottenFleshNuke, modid+rottenFleshNuke.getUnlocalizedName().substring(5)); LanguageRegistry.addName(cookedZombieFlesh, "Cooked Zombie Flesh"); LanguageRegistry.addName(rottenFleshSpawner, "Rotten Flesh Spawner"); LanguageRegistry.addName(cookedZombieFleshSpawner, "Cooked Zombie Flesh Spawner"); LanguageRegistry.addName(rottenFleshPickaxe, "Rotten Flesh Pickaxe"); LanguageRegistry.addName(rottenFleshAxe, "Rotten Flesh Axe"); LanguageRegistry.addName(rottenFleshShovel, "Rotten Flesh Shovel"); LanguageRegistry.addName(rottenFleshSword, "Rotten Flesh Sword"); LanguageRegistry.addName(rottenFleshHoe, "Rotten Flesh Hoe"); LanguageRegistry.addName(rottenFleshRingFlyingOFF, "Rotten Flesh Ring Of Flying"); LanguageRegistry.addName(rottenFleshRingFlyingON, "Rotten Flesh Ring Of Flying"); LanguageRegistry.addName(rottenFleshRing, "Rotten Flesh Ring"); LanguageRegistry.addName(rottenFleshRingInvisOFF, "Rotten Flesh Ring Of Invisibility"); LanguageRegistry.addName(rottenFleshRingInvisON, "Rotten Flesh Ring Of Invisibility"); LanguageRegistry.addName(rottenFleshStick, "Rotten Flesh Stick"); LanguageRegistry.addName(rottenFleshWandLightning, "Rotten Flesh Wand Of Lightning"); LanguageRegistry.addName(rottenFleshWandLightningTop, "Rotten Flesh Wand Of Lightning Top"); LanguageRegistry.addName(rottenFleshWandFireBall, "Rotten Flesh Wand Of Fire"); LanguageRegistry.addName(rottenFleshWandFireBallTop, "Rotten Flesh Wand Of Fire Top"); LanguageRegistry.addName(rottenFleshBlock, "Block Of Rotten Flesh"); LanguageRegistry.addName(cookedZombieFleshBlock, "Block of Cooked Zombie Flesh"); LanguageRegistry.addName(rottenFleshSpeedBoots, "Rotten Flesh Speed Boots"); LanguageRegistry.addName(rottenFleshGrenade, "Rotten Flesh Grenade"); LanguageRegistry.addName(cookedZombieFleshSoup, "Cooked Zombie Flesh Soup"); LanguageRegistry.addName(rottenFleshWandZombieTamer, "Rotten Flesh Wand Of Zombie Taming"); LanguageRegistry.addName(rottenFleshWandZombieTamerTop, "Rotten Flesh Wand Of Zombie Taming Top"); LanguageRegistry.addName(goldenRottenFlesh, "Golden Rotten Flesh"); LanguageRegistry.addName(rottenFleshRainMaker, "Rotten Flesh Rain Maker"); LanguageRegistry.addName(rottenFleshNuke,"Rotten Flesh Nuke"); } }
-
[1.6.4]Custom Tnt
Ok ill try the println() and post my ClientProxy and main mod file. Edit: I know its called because I have another entity and the render file for that is called.
-
[1.6.4]Custom Tnt
Yes in my client proxy. Do you need it?
-
[1.6.4]Custom Tnt
Please help I really need this for my mod.
-
Suggestions for Efficient Mod Making Please?
Easier to maintain. You don't need to recompile to make changes. I guess I should make one for my mod. So all I have to do for an item is: item.[item].name=[item name] And then for blocks I do: title.[block].name=[block name] Is that right? Also do I have to name my entities?
IPS spam blocked by CleanTalk.