TheGrovesyProject101
Forge Modder-
Posts
43 -
Joined
-
Last visited
Everything posted by TheGrovesyProject101
-
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
bump -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
same im going to need a different method im also new to modding -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
i have but that does it through textures but i have to do mine without having to chage the texture because its a meta data block that changes oreintation each block has a different texture -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
bump -
you could try and use .setBlockBounds(0.30F, 0.30F, 0.30F, 0.70F, 0.70F, 0.70F); that makes a sort of cable im not to sure how to use it though
-
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
bump -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
no the way that does it is by a single textured block with multiple side (only 1 texture) i have multiple blocks with the metadata each with a different texture. -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
its not for me im new to ava/modding -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
what are the EQUAL to: dirZPos; dirXPos; dirZNeg; dirXNeg; -
meta data block orientation[unsolved]
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
no sorry cant find anything that works in there -
i want to know how how to change the orientation of my meta data blocks by on where i stand when placing them does anyone know how to do it here is my block file package TheCivilizationMod; import java.util.List; import net.minecraft.src.Block; import net.minecraft.src.CreativeTabs; import net.minecraft.src.EntityLiving; import net.minecraft.src.ItemStack; import net.minecraft.src.Material; import net.minecraft.src.MathHelper; import net.minecraft.src.World; import net.minecraftforge.common.ForgeDirection; import cpw.mods.fml.common.Side; import cpw.mods.fml.common.asm.SideOnly; public class glass extends Block{ public glass(int id, int texture){ super(id, texture, Material.rock); this.setCreativeTab(CreativeTabs.tabBlock); this.setRequiresSelfNotify(); } public String getTextureFile(){ return "/Mod/MultiBlocks.png"; } public int getBlockTextureFromSideAndMetadata(int side, int meta) { switch(meta) { case 0: switch(side) { case 0: return 22; case 1: return 22; case 2: return 22; case 3: return 0; default: return 22; } case 1: switch(side) { case 0: return 23; case 1: return 23; case 2: return 23; case 3: return 0; default: return 23; } return side; } @Override public int damageDropped(int meta){ return meta; } @SideOnly(Side.CLIENT) public void getSubBlocks(int par1, CreativeTabs tab, List list){ for(int NumOfMets=0; NumOfMets<2; NumOfMets++){ list.add(new ItemStack(par1, 1, NumOfMets)); } } }
-
Block meta data names
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
sorry i ve not replied but no its still not working i am appreciating your help though if you have any more ideas please do tell me -
Block meta data names
TheGrovesyProject101 replied to TheGrovesyProject101's topic in Modder Support
no it still doesnt work -
Hey guys im new to modding and im trying out the meta data ive got the blocks to show up in game but the names are blank i have been using the command LanguageRegistry.instance().addStringLocalization("tile.glass.first.name", "first"); the ItemBlockGlass looks like this: and the glass looks like this: and the item list thing looks like this: