Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Feature Recycler

Feature Recycler

A simple mod that prevents crashes between world generation mods caused by Minecraft's Feature Cycler.

97.8k
29
Utility
World Generation

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server
Donate on Patreon

Creators

CorgiTaco
CorgiTaco Member

Details

Licensed ARR
Published 10 months ago
Updated 7 months ago
DescriptionChangelogVersions

What does this mod do?

Fixes the "Feature order cycle" error when mods add placed features in different orders between their biomes. It does this by automatically recycling(resorting) their biome features to respect the rules set by a previous biome containing the same 2 elements.

It will now also silently log and tell you which features may have conflicted between which mods and how many crashes were prevented: [01:55:31] [Worker-Main-11/INFO]: Starting feature recycler... [01:55:32] [Worker-Main-11/WARN]: Moved placed feature "minecraft:flower_default" from index 2 to index 4 for biome "biomeswevegone:sakura_grove". Placed Feature index rules set by biome "wythers:sakura_forest". [01:55:32] [Worker-Main-11/WARN]: Moved placed feature "minecraft:flower_cherry" from index 4 to index 2 for biome "biomeswevegone:sakura_grove". Placed Feature index rules set by biome "wythers:sakura_forest". [01:55:32] [Worker-Main-11/WARN]: Just prevented a crash between biomeswevegone and wythers! Please report the issues to their respective issue trackers. [01:55:32] [Worker-Main-11/INFO]: Finished recycling features. Took 192ms [01:55:32] [Worker-Main-11/INFO]: Feature Recycler just prevented 1 crashes!

What is the Feature Order Cycle error?

The error looks similar to this:

java.lang.IllegalStateException: Feature order cycle found, involved sources: [Reference{ResourceKey[minecraft:worldgen/biome / wythers:sakura_forest]=net.minecraft.class_1959@3fddd9c5}, Reference{ResourceKey[minecraft:worldgen/biome / biomeswevegone:sakura_grove]=net.minecraft.class_1959@337bfcbf}]

or with Cyanide:

com.alcatrazescapee.cyanide.codec.FeatureCycleDetector$FeatureCycleException: A feature cycle was found.

Cycle: At step 9 Feature 'minecraft:patch_melon_sparse' must be before 'biomeswevegone:oak_bushes' (defined in 'biomeswevegone:fragment_jungle' at index 8, 9) must be before 'biomeswevegone:mushrooms' (defined in 'biomeswevegone:pumpkin_valley' at index 8, 14 and 8 others) must be before 'minecraft:seagrass_normal' (defined in 'biomeswevegone:crag_gardens' at index 11, 12) must be before 'minecraft:sea_pickle' (defined in 'biomeswevegone:lush_stacks' at index 10, 11) must be before 'minecraft:patch_melon_sparse' (defined in 'minecraft:warm_ocean' at index 11, 12)

Modrinth is open source.

main@016c3d7

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.