Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Quick question. I am setting up my Biome and it is relatively basic. I would just like to know what needs to be done to replace the stone generation, so I can replace all of the Stone with my own custom Stone. I know there is:

 

topBlock and fillerBlock

 

and I use both of them. I usually do my topBlock set to my custom grass and the filler block is set to the custom stone, however I am trying to get a bit better with decoration of biomes. So now I want to try and do the topBlock as my custom grass and the fillerBlock as my custom dirt, so it gives that nice uniform look and simply replace some of the SmoothStone with my own custom SmoothStone. I know there are different gens available but I don't think I saw a stone gen. So any help/shove in the right direction would be beneficial. 

 

Here is the simple Biome class. I didn't pastebin it because it is quite small. Like I said it is a very basic and simple biome, at least for now.

 

package halestormxv.world.biomes;

import halestormxv.entity.EntityCultist;
import halestormxv.init.BlockInit;
import halestormxv.objects.blocks.BlockDirts;
import halestormxv.objects.blocks.BlockStones;
import halestormxv.utils.handlers.EnumHandlerStone;
import halestormxv.utils.handlers.EnumHandlerWood;
import halestormxv.world.gen.generators.WorldGenMysticTree;
import net.minecraft.entity.monster.*;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.gen.feature.WorldGenAbstractTree;

import java.util.Random;

public class BiomeMysticLands extends Biome
{
    protected static final WorldGenAbstractTree TREE = new WorldGenMysticTree();

    public BiomeMysticLands()
    {
        super(new BiomeProperties("Mystic Lands").setBaseHeight(0.2f).setHeightVariation(0.8f).setTemperature(0.06f).setWaterColor(12013822).setSnowEnabled());
        //topBlock = BlockInit.DIRT.getDefaultState().withProperty(BlockDirts.VARIANT, EnumHandlerWood.EnumTypeWood.MYSTIC);
        topBlock = BlockInit.MYSTIC_GRASS.getDefaultState();
        //fillerBlock = BlockInit.BLOCK_STONES.getDefaultState().withProperty(BlockStones.VARIANT, EnumHandlerStone.EnumTypeStone.MYSTIC_SMOOTHSTONE);
        fillerBlock = BlockInit.DIRT.getDefaultState().withProperty(BlockDirts.VARIANT, EnumHandlerWood.EnumTypeWood.MYSTIC);

        //this.decorator.coalGen = new WorldGenMinable(Blocks.COAL_BLOCK.getDefaultState(), 4);
        this.decorator.generateFalls = true;
        this.decorator.treesPerChunk = 2;
        this.decorator.bigMushroomsPerChunk = 3;

        this.spawnableCaveCreatureList.clear();
        this.spawnableCreatureList.clear();
        this.spawnableMonsterList.clear();
        this.spawnableWaterCreatureList.clear();

        this.spawnableMonsterList.add(new SpawnListEntry(EntityCultist.class, 6, 1, 3));
        this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class, 10, 2, 6));
        this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 4, 2, 8));
        this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 2, 1, 2));

    }

    @Override
    public WorldGenAbstractTree getRandomTreeFeature(Random rand)
    {
        return TREE;
    }
}

Edited by HalestormXV

I think that is set with the base block of the chunk generator. So you'd need a custom chunk generator as well. Alternatively, your biome decorator can go through the whole chunk and replace any stone already generated. 

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

I see. It's almost like I'm better off just doing my own dimension lol. Which I planned to do anyway but alright. I will fiddle with it. Thanks for the response.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.