<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=BetterBiomes%3AAddons</id>
	<title>BetterBiomes:Addons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=BetterBiomes%3AAddons"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=BetterBiomes:Addons&amp;action=history"/>
	<updated>2026-12-03T17:34:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.mutigeraffe.com/index.php?title=BetterBiomes:Addons&amp;diff=2591&amp;oldid=prev</id>
		<title>Maintenance script: BetterBiomes wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=BetterBiomes:Addons&amp;diff=2591&amp;oldid=prev"/>
		<updated>2026-11-10T18:25:01Z</updated>

		<summary type="html">&lt;p&gt;BetterBiomes wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Since 1.5.0 Better Biomes can be extended by &amp;#039;&amp;#039;&amp;#039;addons&amp;#039;&amp;#039;&amp;#039;: separate mods that add their own biomes, caves and world features on top of Better Biomes. Two first addons are in development, a mushroom forest and a deep cave overhaul.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== For players ==&lt;br /&gt;
* Put the addon into the same &amp;lt;code&amp;gt;mods&amp;lt;/code&amp;gt; folder as Better Biomes and [[UtilityBiome:Main Page|Utility Biome]]. An addon needs Better Biomes.&lt;br /&gt;
* The [[BetterBiomes:Configuration|Better Biomes settings]] also apply to the addon: &amp;lt;code&amp;gt;Features&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Structures&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FeatureChance&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DisabledFeatures&amp;lt;/code&amp;gt; cover its features, &amp;lt;code&amp;gt;DisabledBiomes&amp;lt;/code&amp;gt; covers its biomes (written with the addon&amp;#039;s prefix, for example &amp;lt;code&amp;gt;BBDeepCaves_&amp;lt;/code&amp;gt;).&lt;br /&gt;
* An addon can &amp;#039;&amp;#039;&amp;#039;replace&amp;#039;&amp;#039;&amp;#039; Better Biomes biomes. While the addon is installed, those biomes no longer generate; the addon&amp;#039;s content takes their place.&lt;br /&gt;
* As with Better Biomes itself, everything only affects newly generated chunks.&lt;br /&gt;
&lt;br /&gt;
=== Server log ===&lt;br /&gt;
At startup Better Biomes lists the installed addons, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BetterBiomes: 1 addons: betterbiomesdeepcaves 0.1.0&lt;br /&gt;
BetterBiomes: Addon betterbiomesdeepcaves 0.1.0 registered (prefix BBDeepCaves_), 0 biomes disabled, 1 replaced&lt;br /&gt;
BetterBiomes 1.7.0 ready (API 1.0.0)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Entries in &amp;lt;code&amp;gt;DisabledBiomes&amp;lt;/code&amp;gt; that match neither a Better Biomes biome nor an addon biome are reported as a warning, as are biomes an addon wants to replace that don&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
== For addon developers ==&lt;br /&gt;
An addon is an ordinary Hytale mod with a manifest dependency on &amp;lt;code&amp;gt;com.cyberpiratepenguin:betterbiomes&amp;lt;/code&amp;gt;. It talks to Better Biomes through two parts:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Part !! Used !! Version&lt;br /&gt;
|-&lt;br /&gt;
| Runtime API &amp;lt;code&amp;gt;com.cyberpiratepenguin.betterbiomes.api&amp;lt;/code&amp;gt; || in game, in the addon&amp;#039;s &amp;lt;code&amp;gt;setup()&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;BetterBiomesAPI.API_VERSION&amp;lt;/code&amp;gt; = 1.0.0&lt;br /&gt;
|-&lt;br /&gt;
| Build-time SDK &amp;lt;code&amp;gt;betterbiomes-sdk&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;com.cyberpiratepenguin.betterbiomes.sdk&amp;lt;/code&amp;gt;) || only in &amp;lt;code&amp;gt;generateBiomes&amp;lt;/code&amp;gt; and tests, never in the jar || &amp;lt;code&amp;gt;BetterBiomesSdk.SDK_VERSION&amp;lt;/code&amp;gt; = 1.2.0&lt;br /&gt;
|}&lt;br /&gt;
Both are versioned independently of the mod version (SemVer).&lt;br /&gt;
&lt;br /&gt;
=== Runtime API ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// in the addon&amp;#039;s setup()&lt;br /&gt;
BetterBiomesAddon addon = BetterBiomesAPI.addon(this, &amp;quot;BBDeepCaves_&amp;quot;)&lt;br /&gt;
        .supersedes(&amp;quot;Zone1_Tier1/Custom.BetterBiomes_Meadow&amp;quot;)&lt;br /&gt;
        .register();&lt;br /&gt;
addon.registerFeature(ChunkFeature.named(&amp;quot;betterbiomesdeepcaves:crystals&amp;quot;)&lt;br /&gt;
        .inBiomes(&amp;quot;Zone1_Tier*&amp;quot;)&lt;br /&gt;
        .order(BetterBiomesAPI.ADDON_ORDER)&lt;br /&gt;
        .placer(new CrystalPlacer()));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;BetterBiomesAPI.addon(plugin, prefix)&amp;lt;/code&amp;gt; starts the registration, &amp;lt;code&amp;gt;register()&amp;lt;/code&amp;gt; completes it. Call it in &amp;lt;code&amp;gt;setup()&amp;lt;/code&amp;gt;; it fails if Better Biomes is not ready yet (&amp;lt;code&amp;gt;BetterBiomesAPI.isReady()&amp;lt;/code&amp;gt;) or if the name or prefix is already taken.&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;prefix&amp;#039;&amp;#039;&amp;#039; (form &amp;lt;code&amp;gt;Name_&amp;lt;/code&amp;gt;) marks all biome files, seeds and asset IDs of the addon. It must not overlap &amp;lt;code&amp;gt;BetterBiomes_&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;feature ID namespace&amp;#039;&amp;#039;&amp;#039; is the addon&amp;#039;s lower-case manifest &amp;lt;code&amp;gt;Name&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;registerFeature&amp;lt;/code&amp;gt; rejects IDs outside it. &amp;lt;code&amp;gt;registerStructure&amp;lt;/code&amp;gt; does the same for structures, which the &amp;lt;code&amp;gt;Structures&amp;lt;/code&amp;gt; switch also controls. A feature that the config turns off is not registered.&lt;br /&gt;
* &amp;lt;code&amp;gt;supersedes(...)&amp;lt;/code&amp;gt; takes Better Biomes biomes in the &amp;lt;code&amp;gt;DisabledBiomes&amp;lt;/code&amp;gt; format (&amp;lt;code&amp;gt;Cherry_Grove&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Zone1_Tier2/Custom.BetterBiomes_Cherry_Grove&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;BetterBiomesAPI.ADDON_ORDER&amp;lt;/code&amp;gt; (200) is the feature order addons start from; Better Biomes uses 0–199.&lt;br /&gt;
* &amp;lt;code&amp;gt;BetterBiomesAPI.addons()&amp;lt;/code&amp;gt; lists all registered addons, &amp;lt;code&amp;gt;runtimeVersion()&amp;lt;/code&amp;gt; gives the running Better Biomes version.&lt;br /&gt;
&lt;br /&gt;
=== Build-time SDK ===&lt;br /&gt;
The SDK hands the generator building blocks Better Biomes uses for itself to an addon&amp;#039;s content pack:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Class !! Contents&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;BetterBiomesRegions&amp;lt;/code&amp;gt; || region grids of the large biomes with the slot table; hands out the free share to addons&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;CaveOverhaul&amp;lt;/code&amp;gt; || Warrens, Titan Vault, Rift, Great Hollow, Wormways, Crawlways, underground lakes, Sinter Halls, Moss Gardens, Umbral Depths, ore lodes, each with the rock and style of a zone&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Landforms&amp;lt;/code&amp;gt; || sinkholes and mountain caves&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Groves&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Features&amp;lt;/code&amp;gt; || groves with soft edges and clearings, flower patches, covers and prefab entries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;WoodSets&amp;lt;/code&amp;gt; || the Better Biomes wood sets and tree prefabs an addon may reference&lt;br /&gt;
|}&lt;br /&gt;
Names, seeds and paths come from the addon&amp;#039;s own &amp;lt;code&amp;gt;Mod&amp;lt;/code&amp;gt;, so &amp;lt;code&amp;gt;CaveOverhaul.of(mod).wormways(...)&amp;lt;/code&amp;gt; creates the cave type &amp;lt;code&amp;gt;&amp;amp;lt;Mod&amp;amp;gt;_Wormways&amp;lt;/code&amp;gt; with the seed &amp;lt;code&amp;gt;&amp;amp;lt;Mod&amp;amp;gt;-Cave-Wormways&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== New addon project ===&lt;br /&gt;
The Better Biomes repository has a script that sets up a new addon project from the mod template, with Better Biomes as a git submodule:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scripts/new-addon.sh &amp;amp;lt;Name&amp;amp;gt; &amp;amp;lt;Prefix&amp;amp;gt; [TargetDir]&lt;br /&gt;
scripts/new-addon.sh DeepCaves BBDeepCaves_&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Name&amp;lt;/code&amp;gt; is CamelCase without &amp;quot;BetterBiomes&amp;quot; (&amp;lt;code&amp;gt;DeepCaves&amp;lt;/code&amp;gt; becomes the mod &amp;lt;code&amp;gt;BetterBiomesDeepCaves&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;Prefix&amp;lt;/code&amp;gt; has the form &amp;lt;code&amp;gt;Name_&amp;lt;/code&amp;gt;. By default the project lands next to the Better Biomes repository. Then run &amp;lt;code&amp;gt;./gradlew build&amp;lt;/code&amp;gt;, add biomes to &amp;lt;code&amp;gt;AddonContent.java&amp;lt;/code&amp;gt; and run &amp;lt;code&amp;gt;./gradlew generateBiomes&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{BetterBiomes Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>