Posted November 9, 201410 yr So im trying to add a animated texture to my mod using a mcmeta file and am having some trouble doing so, the BluStoneOre.png and BluStoneOre.png.mcmeta are both in the texture folder though the block is not properly rendering. BluStoneOre.java package com.BlackMage.BluTech.Blocks; import java.util.Random; import com.BlackMage.BluTech.BluTech; import com.BlackMage.BluTech.CreativeTabsBluTech; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class BluStoneOre extends Block { public BluStoneOre() { super(Material.rock); setBlockName(BluTech.MODID + "_" + "BluStoneOre"); setBlockTextureName(BluTech.MODID + ":" + "BluStoneOre"); setCreativeTab(CreativeTabsBluTech.BLOCKS.get()); //@param level Harvest level: //Wood: 0 //Stone: 1 //Iron: 2 //Diamond: 3 //Gold: 0 setHarvestLevel("pickaxe",3); //sets how long it takes to harvest (3.0F is normal ore) setHardness(5.0F); //sets explosion resistance (5.0F is normal ore) setResistance(7.0F); } public Block getBlockDropped(int metadata, Random rand, int fortune) { return BluTech.BluStoneOre; } } BluStoneOre.png.mcmeta { "animation": { "frametime": 3, "frames": [ 0, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1 ] } } BluStoneOre.png http://forgewareinc.com/modpack/BluStoneOre.png
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.