Jump to content

bu420

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by bu420

  1. I am trying to generate terrain in the form of planets that sometimes extend outside the chunk. How do I place those blocks? EDIT: the method in the title is overloaded, of course.
  2. Thank you, this was incredibly helpful!
  3. Hello, I'm currently looking at the source code for Twilight Forest regarding dimension creation and world generation, but it's too much and too many new concepts at once. What classes need to exist for a dimension to created in Java? (No mobs, biomes or structures like there are in the Twilight code).
  4. Ah, thanks!
  5. But to actually show it, do I need a custom gui or something?
  6. How do I show for example my current FPS on screen, you know, without pressing F3?
  7. Could you give me an example?
  8. Server-side
  9. So, for example, I want to add a prefix to my name, that will show up in chat etc. Like: "[Captain] Comlud: <message>" Preferably others names too. Any idea?
  10. I can't make this code work (obviously) in 1.12.2 Please, can someone update it? I really need it for my mod. Thanks
  11. I'm fairly new, could you give me some more help?
  12. Yo! How would I change the vanilla mob spawning, so that more mobs spawn just above the sea level? Like between Y 63 and 80 or something. And also, is it possible to add fog to the above location? Thanks /MasterComlud
  13. A question: If I have a forge server with a generation mod, let's say it places some structures in the world and all blocks are vanilla, do the clients also need that mod then, or just the server? /MasterComlud
  14. Thanks, now I understand! And yeah, that was exactly what I was asking for
  15. I was looking at a mods ChunkGeneratorDimension code and found this this.terrainType = world.func_72912_H().func_76067_t(); The mod uses the normal World type (net.minecraft.world.World) and it's up to date. So, any idea? (It might be something obvious, but I'm new)
  16. So, I tried to import the source code used for noise from bukkit and changed it to fit my mod, but without success. Can stuff like that even work? (probably, if you're experienced, which I'm not) I just need a good and easy way to use noise. Please help, MasterComlud
  17. I'm trying to generate terrain in my custom dimension using noise, but I don't really know how to. When I did plugin development, this was pretty easy (and I also just want simple, hilly terrain): SimplexOctaveGenerator generator = new SimplexOctaveGenerator(new Random(world.getSeed()), 8); ChunkData chunk = createChunkData(world); generator.setScale(0.007D); for (int X = 0; X < 16; X++) { for (int Z = 0; Z < 16; Z++) { currentHeight = (int) (generator.noise(chunkX * 16 + X, chunkZ * 16 + Z, 0.5D, 0.5D) * 15D + 50D); chunk.setBlock(X, currentHeight, Z, Material.GRASS); chunk.setBlock(X, currentHeight-1, Z, Material.DIRT); for (int i = currentHeight-2; i > 0; i--) { chunk.setBlock(X, i, Z, Material.STONE); } chunk.setBlock(X, 0, Z, Material.BEDROCK); } } but it looks like it isn't that simple with forge. Any help is appreciated Thanks, MasterComlud
×
×
  • Create New...

Important Information

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