Skip to content

Commit

Permalink
Fix: missing registration for transient generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Jun 9, 2024
1 parent 6069276 commit c8dd252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings=1.20.6+build.1
loader_version=0.15.10

# Mod Properties
mod_version=0.6.1
mod_version=0.6.2
maven_group=xyz.nucleoid
archives_base_name=fantasy

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/xyz/nucleoid/fantasy/FantasyInitializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
import xyz.nucleoid.fantasy.util.TransientChunkGenerator;
import xyz.nucleoid.fantasy.util.VoidChunkGenerator;

public final class FantasyInitializer implements ModInitializer {
@Override
public void onInitialize() {
Registry.register(Registries.CHUNK_GENERATOR, new Identifier(Fantasy.ID, "void"), VoidChunkGenerator.CODEC);
Registry.register(Registries.CHUNK_GENERATOR, new Identifier(Fantasy.ID, "transient"), TransientChunkGenerator.CODEC);
}
}

0 comments on commit c8dd252

Please sign in to comment.