Skip to content

Commit

Permalink
fix: fixed inconsistencies with 1.19 version in regards to datagen
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBv committed Dec 29, 2023
1 parent 5bbd87f commit 5992f84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private static <C extends FeatureConfiguration, F extends Feature<C>> Holder<Pla
}

private static final BiFunction<String, Feature, Holder<PlacedFeature>> registerSimple = (name, feat) -> {
return register("%s:%s".formatted(IceAndFire.MODID, name), new ConfiguredFeature<>(feat, FeatureConfiguration.NONE), BiomeFilter.biome());
return register("%s:%s".formatted(IceAndFire.MODID, name), new ConfiguredFeature<>(feat, FeatureConfiguration.NONE), PlacementUtils.HEIGHTMAP_WORLD_SURFACE, BiomeFilter.biome());
};

private static final BiFunction<String, Feature, Holder<PlacedFeature>> registerSimpleCave = (name, feat) -> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"values": [
"iceandfire:dragonsteel_lightning_sword",
"iceandfire:dragonbone_sword_lightning"
"iceandfire:dragonbone_sword_lightning",
"iceandfire:dragonsteel_lightning_pickaxe",
"iceandfire:dragonsteel_lightning_axe",
"iceandfire:dragonsteel_lightning_shovel",
"iceandfire:dragonsteel_lightning_hoe"
]
}

0 comments on commit 5992f84

Please sign in to comment.