Skip to content

Commit

Permalink
Merge branch '1.21.4' into 1.21.5
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Feb 20, 2025
2 parents e8b2795 + c870ef9 commit e71e05d
Show file tree
Hide file tree
Showing 34 changed files with 80 additions and 75 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Put the changelog BELOW the dashes. ANYTHING ABOVE IS IGNORED
hi
-----------------
- Bumped Wilder Wild's protocol version to 12.
- Added the Tundra biome.
- Added the Autumnal Plains biome.
- This biome generates near the colder regions of the world where Plains would be, before the snow takes over.
- Revamped flower distribution and generation.
- Added a new config option to disable Pollen generation.
Expand Down Expand Up @@ -100,7 +100,7 @@ hi
- Rattling sounds are now used as a footstep sound instead of idle sound for Crabs.
- Added the Phlox flower.
- Generates in Birch Forest, Old Growth Birch Forest, and Meadow biomes.
- Generates occasionally in Dark Forest, Swamp, Dying Forest, Maple Forest, and Tundra biomes.
- Generates occasionally in Dark Forest, Swamp, Dying Forest, Maple Forest, and Autumnal Plains biomes.
- Can be crafted into Purple Dye.
- Added the Lantanas flower.
- Generates in Old Growth Birch Forest, Savanna, Dark Forest, and Sunflower Plains biomes.
Expand All @@ -115,6 +115,7 @@ hi
- Carnations now yield magenta dye instead of purple dye.
- Added Frozen Short Grass, Frozen Tall Grass, Frozen Fern, and Frozen Large Fern blocks.
- Shoutout to just_jose2006 for the textures!
- Changed the Warm River's surface rules to likely reduce lag caused by Sand blocks falling.

# Music
- Added three new tracks by Willow/pictochats_.
Expand All @@ -123,7 +124,7 @@ hi
- Caves Temp
- Plays in Frozen Caves, Magmatic Caves, Mesoglea Caves, and Lush Caves biomes.
- Maple Temp
- Plays in Maple Forest and Tundra biomes.
- Plays in Maple Forest and Autumnal Plains biomes.
- Ludocrypt's `Dove` now also plays in Lush Caves.

# Swamp Overhaul
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"values": [
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"values": [
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minecraft:plains",
"minecraft:meadow",
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"required": false
},
{
"id": "wilderwild:tundra",
"id": "wilderwild:autumnal_plains",
"required": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,11 @@ public VoxelShape getCollisionShape(@NotNull BlockState blockState, @NotNull Blo
return shape;
}

@Override
protected @NotNull VoxelShape getBlockSupportShape(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos) {
return Shapes.block();
}

@Override
public void animateTick(@NotNull BlockState blockState, @NotNull Level level, @NotNull BlockPos blockPos, @NotNull RandomSource randomSource) {
super.animateTick(blockState, level, blockPos, randomSource);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public static class BiomeGeneration {
@EntrySyncData("generateSparseForest")
public boolean generateSparseForest = true;

@EntrySyncData("generateTundra")
public boolean generateTundra = true;
@EntrySyncData("generateAutumnalPlains")
public boolean generateAutumnalPlains = true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -392,24 +392,24 @@ public static void setupEntries(@NotNull ConfigCategory category, @NotNull Confi
"generateMapleForest",
configInstance
);
var tundra = FrozenClothConfig.syncedEntry(
entryBuilder.startBooleanToggle(text("generate_tundra"), modifiedBiomes.generateTundra)
.setDefaultValue(defaultConfig.biomeGeneration.generateTundra)
.setSaveConsumer(newValue -> biomes.generateTundra = newValue)
.setTooltip(tooltip("generate_tundra"))
var generateAutumnalPlains = FrozenClothConfig.syncedEntry(
entryBuilder.startBooleanToggle(text("generate_autumnal_plains"), modifiedBiomes.generateAutumnalPlains)
.setDefaultValue(defaultConfig.biomeGeneration.generateAutumnalPlains)
.setSaveConsumer(newValue -> biomes.generateAutumnalPlains = newValue)
.setTooltip(tooltip("generate_autumnal_plains"))
.requireRestart()
.build(),
biomes.getClass(),
"generateTundra",
"generateAutumnalPlains",
configInstance
);

var biomeGenerationCategory = FrozenClothConfig.createSubCategory(entryBuilder, category, text("biome_generation"),
false,
tooltip("biome_generation"),
aridForest, aridSavanna, birchJungle, birchTaiga, cypressWetlands, darkBirchForest, darkTaiga, dyingForest, dyingMixedForest, flowerField, frozenCaves,
magmaticCaves, mapleForest, mesogleaCaves, mixedForest, oasis, oldGrowthBirchTaiga, oldGrowthDarkForest, oldGrowthSnowyTaiga, parchedForest, rainforest,
semiBirchForest, snowyDyingForest, snowyDyingMixedForest, sparseBirchJungle, sparseForest, temperateRainforest, tundra, warmBeach, warmRiver
aridForest, aridSavanna, generateAutumnalPlains, birchJungle, birchTaiga, cypressWetlands, darkBirchForest, darkTaiga, dyingForest, dyingMixedForest, flowerField,
frozenCaves, magmaticCaves, mapleForest, mesogleaCaves, mixedForest, oasis, oldGrowthBirchTaiga, oldGrowthDarkForest, oldGrowthSnowyTaiga, parchedForest, rainforest,
semiBirchForest, snowyDyingForest, snowyDyingMixedForest, sparseBirchJungle, sparseForest, temperateRainforest, warmBeach, warmRiver
);

var cherryGrove = FrozenClothConfig.syncedEntry(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import org.quiltmc.qsl.frozenblock.misc.datafixerupper.api.SimpleFixes;

public final class WWDataFixer {
public static final int DATA_VERSION = 26;
public static final int DATA_VERSION = 27;

private WWDataFixer() {
throw new UnsupportedOperationException("WWDataFixer contains only static declarations.");
Expand Down Expand Up @@ -203,6 +203,10 @@ public static void applyDataFixes(final @NotNull ModContainer mod) {
schemaV26
);

Schema schemaV27 = builder.addSchema(27, NamespacedSchema::new);
SimpleFixes.addBiomeRenameFix(builder, "Rename tundra to autumnal_plains", Map.of(WWConstants.id("tundra"), WWConstants.id("autumnal_plains")), schemaV27);


QuiltDataFixes.buildAndRegisterFixer(mod, builder);
WWConstants.log("DataFixes for Wilder Wild have been applied", true);
}
Expand Down
Loading

0 comments on commit e71e05d

Please sign in to comment.