Jump to content

DanPerry1808

Forge Modder
  • Posts

    21
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    Developer Of Dan's Armoury Mod

DanPerry1808's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Sorry, new to the JSON rendering system, long time gone from modding. Which json file do I need to put this in and where, for me all the glass JSON files are identical to my file except for texture name.
  2. Sorry, new to the JSON rendering system, long time gone from modding. Which json file do I need to put this in and where, for me all the glass JSON files are identical to my file except for texture name.
  3. I have created a block that has transparency in its texture. When it loads the texture in game, the texture works as intended when the block is being held in the player's hand but when placed, the transparent parts are rendered as opaque white as if 'isOpaqueCube()' is set to true, though it is definitely set to false. Block code models/block .json file models/item .json file blockstates .json file Console Log Thanks for the help.
  4. I have created a block that has transparency in its texture. When it loads the texture in game, the texture works as intended when the block is being held in the player's hand but when placed, the transparent parts are rendered as opaque white as if 'isOpaqueCube()' is set to true, though it is definitely set to false. Block code models/block .json file models/item .json file blockstates .json file Console Log Thanks for the help.
  5. I'm trying to update my mod which deals with armour giving potion effects when worn but I can't find the replacement for getCurrentArmor(int slot) in EntityPlayer which is vital for doing this. Can anyone tell me the new way of getting it? Thanks
  6. I'm trying to update my mod which deals with armour giving potion effects when worn but I can't find the replacement for getCurrentArmor(int slot) in EntityPlayer which is vital for doing this. Can anyone tell me the new way of getting it? Thanks
  7. Thnaks, I'll just wait for a while until its updated, if anyone else still wants to test their mod, they should comment out all EnumHelper related items.
  8. I've just got rid of the last few errors in my mod but when I ran the game I ended up with a NoSuchMethodException that seems to point to the addArmorMaterial method, here is my crash log
  9. I'm getting the same error on that. Sorry, I hadn't compiled my mod before now but the method showed up fine for me so I thought all was fine. I'll make a new thread outlining the error and get back once it's been solved.
  10. Sorry, first time updating w/o tutorials but I've got it now, thanks a bunch
  11. Is this 1.7.10 or 1.8 you're trying to do this in?
  12. Sorry, I have lots of errors with this, I have no idea what's changed or what to change, here is my full class: public class InvisOreWorldGeneration implements IWorldGenerator{ @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.getDimensionId()){ case -1 : generateNether(world, random, chunkX * 16, chunkZ * 16); case 0 : generateSurface(world, random, chunkX * 16, chunkZ * 16); } } private void generateSurface(World world, Random random, int blockX, int blockZ) { for(int i = 0; i < 10; i++){ int Xcoord = blockX + random.nextInt(16); int Ycoord = random.nextInt(28); int Zcoord = blockZ + random.nextInt(16); new WorldGenMinable(DanArmourMain.invisore, 4).generate(world, random, pos); } } private void generateNether(World world, Random random, int i, int j) { } } I've got an error on new WroldGenMineable because it needs invisore (my block) to be a block state. Also, inserting a BlockPos into the generate method means I have to put it into the generateSurface parameters, which in turn needs one in main generate method, which then causes an error with the @Override meaning that it no longer implements the needed method for IWorldGenerator.
  13. I'm having trouble with updating my generateSurface method, here's the code: private void generateSurface(World world, Random random, int blockX, int blockZ) { for(int i = 0; i < 10; i++){ int Xcoord = blockX + random.nextInt(16); int Ycoord = random.nextInt(28); int Zcoord = blockZ + random.nextInt(16); new WorldGenMinable(DanArmourMain.invisore, 4).generate(world, random, Xcoord, Ycoord, Zcoord); } } hope this helps
  14. Hey, I'm almost done updating to 1.8 (11.14.0.1239) but one of the last things is ore generation and I'm having trouble with the new BlockPos system, any help with this would be much appreciated.
  15. It seems to be there for me (I'm using 11.14.0.1239) try manually importing "net.minecraftforge.common.util.EnumHelper" and see if that helps.
×
×
  • Create New...

Important Information

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