Skip to content

Commit

Permalink
[1.20.1 + 1.0.4] WorldGen fixes, recipe fixes
Browse files Browse the repository at this point in the history
- Fixed the wild crop generation:
    * Fixed structure file errors
    * Fixed incorrect biome changers for wild crops
    (Now they're the same as on Forge)

- Fixed the inc sac recipe
    * Removed the "c/foods/raw_squid" tag from Raw Calamari
  • Loading branch information
Vwriter committed Jul 6, 2024
1 parent 5ea84d2 commit 43c3703
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,11 @@ public void onInitialize() {
CDWorldGenerators.init();

BiomeModifications.addFeature(context -> context.getBiomeKey().equals(Biomes.PLAINS), GenerationStep.Decoration.VEGETAL_DECORATION,
CDConfiguredFeatures.PATCH_WILD_CUCUMBERS.key());
BiomeModifications.addFeature(context -> context.getBiomeKey().equals(Biomes.SWAMP), GenerationStep.Decoration.VEGETAL_DECORATION,
CDConfiguredFeatures.PATCH_WILD_CORN.key());
BiomeModifications.addFeature(context -> context.getBiomeKey().equals(Biomes.JUNGLE), GenerationStep.Decoration.VEGETAL_DECORATION,
CDConfiguredFeatures.PATCH_WILD_EGGPLANTS.key());
BiomeModifications.addFeature(context -> context.getBiomeKey().equals(Biomes.SWAMP), GenerationStep.Decoration.VEGETAL_DECORATION,
CDConfiguredFeatures.PATCH_WILD_CUCUMBERS.key());
BiomeModifications.addFeature(context -> context.getBiomeKey().equals(Biomes.JUNGLE), GenerationStep.Decoration.VEGETAL_DECORATION,
CDConfiguredFeatures.PATCH_WILD_EGGPLANTS.key());

TradeOfferHelper.registerVillagerOffers(VillagerProfession.FARMER, 1, factories -> {
factories.add(new EmeraldToItemOffer(new ItemStack(CDObjects.CUCUMBER), 1, 10, 2, 0.2F));
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/data/c/tags/items/foods/raw_squid.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"replace": false,
"values": [
"culturaldelights:squid",
"culturaldelights:glow_squid",
"culturaldelights:raw_calamari"
"culturaldelights:glow_squid"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "farmersdelight:cutting",
"ingredients": [
{
"tag": "c:foods/squid"
"tag": "c:foods/raw_squid"
}
],
"tool": {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "culturaldelights:wild_eggplant"
"Name": "culturaldelights:wild_eggplants"
}
}
}
Expand Down

0 comments on commit 43c3703

Please sign in to comment.