-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
b04ka edited this page Oct 6, 2024
·
7 revisions
First add the mod as a dependency in build.gradle.
dependencies {
implementation "curse.maven:cavelib-1114316:5785724"
}Next, I would recommend creating a class in which all biome properties will be.
Here create a init() method and register your biome
public class TestBiome {
public static final ResourceKey<Biome> TEST = ResourceKey.create(Registries.BIOME, ResourceLocation.fromNamespaceAndPath(ExampleMod.MODID, "test"));
public static void init(){
}
}and add it to the commonSetup method of the mod
public class ExampleMod{
private void commonSetup(final FMLCommonSetupEvent event){
TestBiome.init();
}
}don't forget that some settings will be in resources\data\yourmodid\worldgen\biome in a file with the name of your biome.
Here is example - test.json
More info about this file is available on the internet
It's all