-
Posts
20 -
Joined
-
Last visited
Everything posted by bu420
-
how i can make in my mod a custom furnace with custom recipe?
bu420 replied to klimooss123's topic in Modder Support
Learn Java before modding. -
What is the bare minimum to create a dimension with Java in 1.17?
bu420 replied to bu420's topic in Modder Support
Thank you, this was incredibly helpful! -
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).
-
Ah, thanks!
-
But to actually show it, do I need a custom gui or something?
-
How do I show for example my current FPS on screen, you know, without pressing F3?
-
Could you give me an example?
-
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?
-
How Do I Add A Prefix To A Player's Name In The Chat?
bu420 replied to LazerMan47's topic in Modder Support
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 -
Thanks!
-
I'm fairly new, could you give me some more help?
-
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
-
Thanks!
-
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
-
Thanks, now I understand! And yeah, that was exactly what I was asking for
-
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)
-
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
-
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