Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Yakman3

Members
  • Posts

    19
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Yakman3's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. It's not that difficult. Just access C:\your modding source directory\src\main\resources\assets outside of eclipse and make a new folder called "lang," inside make a new blank text file called en_US.lang. make sure it is a .lang file and not a .txt.
  2. I'm trying to make a sword which applies a certain potion effect to anything it hits, but I don't know where to start. Is there an OnHit method? Also, what package is the standard sword class contained in in Referenced Libraries?
  3. I hate to put down Mr. Crayfish, but I would recommend a total restart here. I started out with Mr. Crayfish too and got no farther than you did - an untextured purple and black cube. Plus, his turoials stop abruptly. I would recommend going and checking out Bedrock_Miner here: http://bedrockminer.jimdo.com/modding-tutorials/basic-modding-1-8/ With his help, I now have a mod with many items, blocks, tools, armor sets, even a dimension and an entity (those last two needed some external research.)
  4. First, you need to make sure you have a line like this in what ever case of the dimension you are generating it in: generateSurface(random, chunkX, chunkZ, world, chunkGenerator, chunkProvider); inside a constructor like this: public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { } then, you need to generate the ore: public void generateSurface(Random random, int chunkX, int chunkZ, World world, IChunkProvider ChunkGenerator, IChunkProvider chunkProvider){ for(int i = 0; i < 2; i++){ //rarity int startX = chunkX * 16 + random.nextInt(16); int startZ = chunkZ * 16 + random.nextInt(16); int startY = random.nextInt(32) + 16; //height spawning BlockPos start = new BlockPos(startX, startY, startZ); (new WorldGenMinable(your block class.your ore.getDefaultState(), random.nextInt(2) + 10)).generate(world, random, start); //vein size and block to generate }
  5. I'm trying to make a mob that has the ability of flight instead of walking, but I don't know where to start: do i use @override or a this. inside the constructor? I can create the rest of the mob, but I don't know where to start with making it fly.
  6. I've read over Wuppy's tutorials on updating, but he didnt say anything about ore generation.
  7. That would work if i was using 1.7, but 1.8 doesn't work with that. any other way to make a worldgenMineable for end stone?
  8. I had the same problem with glass, but when i used that code I could use the glass like an x-ray: the bottom and top of the block allowed me to see through the world...
  9. I've been trying to make an ore generate iin the end, and while I can get ores to generate in the overworld, i assume the code is different? this generation code isn't working... public void generateOre(Random random, int chunkX, int chunkZ, World world, IChunkProvider ChunkGenerator, IChunkProvider chunkProvider){ for(int i = 0; i < 100; i++){ int startX = chunkX * 16 + random.nextInt(16); int startZ = chunkZ * 16 + random.nextInt(16); int startY = random.nextInt(48) + 7; BlockPos start = new BlockPos(startX, startY, startZ); (new WorldGenMinable(BlockManager.Essence_Ore.getDefaultState(), random.nextInt(10) + 1)).generate(world, random, start); }
  10. I mean, that helped me find out that i can make my whole dimension one block. But i don't really want that, and the lakes and spawning would still be off.
  11. Uh, where would i find those chunk providers? i know its referencedLibraries\forgesrc but then what?
  12. I have been trying for a while now to make my dimension one biome, and I recently made what i thought was a breakthrough. Basically, with my fix, all the blocks and "filler" blocks are correct, but pressing f3 reveals that I am actually going through different biomes with properties i don't want in tmy dimension like snow. If i get lucky, my actual biome will spawn, and not just the blocks. How can i make it so that the only biome spawning is mine? (and as a side note, can i make it so the biome doesn't spwan in the overworld?) here's the link to my "CustomChunkProvider" code http://pastebin.com/phMvgJir
  13. I checked, and while I found some duplicate code for the stairs, deleting it didn't change anything.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.