Jump to content

majesticmadman98

Members
  • Posts

    209
  • Joined

  • Last visited

Everything posted by majesticmadman98

  1. ok thanks but how does that work if the code is getting a string because it wouldnt function if i changed bonemeal to Item.Dyes, 15. Also arent they (trying to) removing that in 1.8 so would there be another way to call the dyes
  2. I want to create blocks out of the dyes but can't find what the dyes are called to but into the recipe as dyes such as "bonemeal" doesnt work?
  3. what path is to a class i can compare float values for the properties?
  4. hey, are block properties such as light level, hardness and resistance set the same way in 1.7 as in 1.6?
  5. not preferable but If it works for now, it works
  6. yeah is their anyway around using the decomp workspace command, such as would a file that's had the command run on some elses pc then been compressed and sent work if i ran the eclipse command?
  7. still wont work checked java is java 7, the JDK is right for my pc, used latest and recommended versions of forge, and still gets the same errors
  8. ive reinstalled everything, and redone it all and still the same errors
  9. ok there is an error in the workspace command how do i go about fixing it?? I'll upload the actual error in a few mins
  10. Hey, when trying to set up for modding on 1.7 I have eclipse, jdk and the forge source. The forge source and eclipse are in seperate folders then using the command stuff in the forgesrc folder "gradlew setupDecompWorkspace" and then "gradlew eclipse" i get these errors in eclipse http://imgur.com/BJzSaKw
  11. can the size of a modal be changed in code but so the texture still sits right. so if i create a 16 x 16 x 16 block in techne and create a texture for that size, in eclipse can i scale the model down but so the texture still sits properly
  12. multiple outputs cancel each other, so if i had ----[]---- it would work but if i did -----[]----- | the two which arent from the power source turn off secondly can i make the redstone current transmit vertically? third doesnt get a current when conencted to a repeater or torch? fourth wont give current to a repeater
  13. ye i have that side working now, i couldnt put it up as it woudlnt let me on. so thanks for the help on that but im having circuit problems i'll get back to you on as im not sure whats causes them
  14. yes but as i said i did something that stopped the block being placed altogether
  15. i did change it to .rock the piston part worked but palcing on top or removing the under block doesnt.
  16. sorry hate to directly ask for code but can you show me what actaully needs to be write in replace of what, cause i fiddled around and stopped it working completly so reverted the code back. also it the block wont take redstone current from another conductor and wont take from redstone torches
  17. also this one public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5) { if (!par1World.isRemote) { boolean flag = this.canPlaceBlockAt(par1World, par2, par3, par4); if (flag) { this.updateAndPropagateCurrentStrength(par1World, par2, par3, par4); } else { this.dropBlockAsItem(par1World, par2, par3, par4, 0, 0); par1World.setBlockToAir(par2, par3, par4); } super.onNeighborBlockChange(par1World, par2, par3, par4, par5); } } or this one public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { return par1World.doesBlockHaveSolidTopSurface(par2, par3 - 1, par4) || par1World.getBlockId(par2, par3 - 1, par4) == Block.glowStone.blockID; }
  18. bit off topic but does eclipse have a search for text option?
  19. and they cant be placed above each other
  20. ok it's now a block and textured but the block is destroyed when the block underneath is removed.
  21. ok thanks to make this render as a block not like the wire can i remove the render method and texture stuff and re-do the textures as if a normal block public void registerIcons(IconRegister par1IconRegister) { this.field_94413_c = par1IconRegister.registerIcon(this.getTextureName() + "_" + "cross"); this.field_94410_cO = par1IconRegister.registerIcon(this.getTextureName() + "_" + "line"); this.field_94411_cP = par1IconRegister.registerIcon(this.getTextureName() + "_" + "cross_overlay"); this.field_94412_cQ = par1IconRegister.registerIcon(this.getTextureName() + "_" + "line_overlay"); this.blockIcon = this.field_94413_c; } @SideOnly(Side.CLIENT) public static Icon getRedstoneWireIcon(String par0Str) { return par0Str.equals("cross") ? Block.redstoneWire.field_94413_c : (par0Str.equals("line") ? Block.redstoneWire.field_94410_cO : (par0Str.equals("cross_overlay") ? Block.redstoneWire.field_94411_cP : (par0Str.equals("line_overlay") ? Block.redstoneWire.field_94412_cQ : null))); } } and this /** * The type of render function that is called for this block */ public int getRenderType() { return 5; }
  22. ok i've got this so what part of this needs replacing to be a block over the wire
×
×
  • Create New...

Important Information

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