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

Custom biome generation (where is my stone)


Recommended Posts


I'm currently making my biome (i'm using json files). Everything is alright, but only top layer appears. Stone IS in the game, but just don't go to the biome. What should I do?

    "config": {
            "Name": "mymode:miracle_grass"
            "Name": "mymode:miracle_stone"
            "Name": "mymode:miracle_stone"
    "type": "mymode:miracle"



Link to comment
Share on other sites

Yes, it's in the correct place, because the top layer is generated correctly. 

public class MiracleSurfaceBuilder extends SurfaceBuilder<SurfaceBuilderConfig> {

	public static final BlockState MIRACLE_GRASS = BlockInit.MIRACLE_GRASS.get().getDefaultState();
	public static final SurfaceBuilderConfig MIRACLE_GRASS_CONFIG = new SurfaceBuilderConfig(MIRACLE_GRASS, MIRACLE_GRASS, MIRACLE_GRASS);

	public MiracleSurfaceBuilder(Codec<SurfaceBuilderConfig> codec) {
		// TODO Auto-generated constructor stub

	public void buildSurface(Random random, IChunk chunkIn, Biome biomeIn, int x, int z, int startHeight, double noise,
			BlockState defaultBlock, BlockState defaultFluid, int seaLevel, long seed, SurfaceBuilderConfig config) {
			SurfaceBuilder.DEFAULT.buildSurface(random, chunkIn, biomeIn, x, z, startHeight, noise, defaultBlock, 
					defaultFluid, seaLevel, seed, MIRACLE_GRASS_CONFIG);



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hello, i've had this happen today with the appleskin mod particularly, i had been able to play without any major issues, however when i attempted to launch today, i keep getting the following error: "AppleSkin (appleskin) has failed to load correctly java.lang.reflect.InvocationTargetException: null" Here's a paste of the crash report And here's a paste of the latest log to be noted, my game has been extremely laggy and crashing quite often (although i assume its because of the mods, which are many, despite them being mostly QoL stuff)  any help would be welcome, thank you very much!
    • https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html *Solved* download the java se environment : )
    • Hello all! Title says it all, looking for help on how to downgrade my java version. Updated and now my minecraft server won't boot up correctky. Every download link I find it contains the most updated version, is there a way around this? Thanks for any help : )
    • how to deal it?  ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 1/24/22 10:16 AM Description: FML will not run in demo mode java.lang.RuntimeException     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:225)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)     at net.minecraft.client.main.Main.main(SourceFile:123)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 708405712 bytes (675 MB) / 842006528 bytes (803 MB) up to 3817865216 bytes (3641 MB)     JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML:      Loaded coremods (and transformers):      GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 462.42' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
  • Topics

  • Who's Online (See full list)

  • Create New...

Important Information

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