Jump to content

jeremy450

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by jeremy450

  1. Hi Guys i was wondering is there a way to increase the flame size at all? i got this from the torch block class @SideOnly(Side.CLIENT) /** * A randomly called display update to be able to add particles or other items for display */ public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random) { int l = par1World.getBlockMetadata(par2, par3, par4); double d0 = (double)((float)par2 + 0.5F); //side double d1 = (double)((float)par3 + 3.2F); //higher double d2 = (double)((float)par4 + 0.5F); //side 2 par1World.spawnParticle("smoke", d0, d1, d2, 0.0D, 0.0D, 0.0D); par1World.spawnParticle("flame", d0, d1, d2, 0.0D, 0.0D, 0.0D); }
  2. sequituri do you mean this? @override @SideOnly(Side.CLIENT) /** * Returns true if the given side of this block type should be rendered, if the adjacent block is at the given * coordinates. Args: blockAccess, x, y, z, side */ public boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) { return par5 == 0 && this.minY > 0.0D ? true : (par5 == 1 && this.maxY < 1.0D ? true : (par5 == 2 && this.minZ > 0.0D ? true : (par5 == 3 && this.maxZ < 1.0D ? true : (par5 == 4 && this.minX > 0.0D ? true : (par5 == 5 && this.maxX < 1.0D ? true : !par1IBlockAccess.isBlockOpaqueCube(par2, par3, par4)))))); }
  3. Thank you sequituri I'll try when I get home from work
  4. Hi there i just downloaded the src version of forge for eclipse and i ran gradlew setupDecompWorkspace eclipse the problem thats happened is it didnt download minecraft for it as well. what can i do? regards Jeremy
  5. i added public boolean overridetat(){ return false; } but had no luck
  6. i found this @SideOnly(Side.CLIENT) /** * Returns true if the given side of this block type should be rendered, if the adjacent block is at the given * coordinates. Args: blockAccess, x, y, z, side */ public boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) { return par5 == 0 && this.minY > 0.0D ? true : (par5 == 1 && this.maxY < 1.0D ? true : (par5 == 2 && this.minZ > 0.0D ? true : (par5 == 3 && this.maxZ < 1.0D ? true : (par5 == 4 && this.minX > 0.0D ? true : (par5 == 5 && this.maxX < 1.0D ? true : !par1IBlockAccess.isBlockOpaqueCube(par2, par3, par4)))))); } i put it in with a override and ran with no success and i couldnt find anything about overridetat
  7. i want to render the icon in the inventory not on the block as i have a render model already on the block which is working fine.. at the moment if i set public void registerIcons(IconRegister IconRegister){ blockIcon = IconRegister.registerIcon(Basicinfo.ID.toLowerCase() + ":lighthanging"); } it overlaps the blcoks rendered texture. and in the invertory it shows a block which the icon i wanted. but not icon only. i can show screen shot if need be
  8. Hi there wondering if someone can help. i made a model block with a techne model. its works fine. but problem is when i try to add a icon to the block the icon overlaps the rendered block and doesnt work as the icon. I'm happy to show code if required. regards Jeremy
  9. the thing is the folder size isnt increasing at all
  10. Hi there i'm trying to install lastest forge and its stuck at C:\mcp>gradlew.bat setupDecompWorkspace eclipse > Configuring > 0/1 projects > root project > Resolving dependencies ':classpat whats the problem? i have tried lastest recommended and few versions back regards Jeremy
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.