Skip to content

Commit

Permalink
Tweaked White Lavender generation/textures
Browse files Browse the repository at this point in the history
  • Loading branch information
Forstride committed Feb 17, 2024
1 parent e9bf050 commit d79125e
Show file tree
Hide file tree
Showing 18 changed files with 44 additions and 97 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<p align="center"><img src="https://i.imgur.com/HQ2opH6.png"></p>
<p align="center"><img src="https://github.com/Glitchfiend/.github/blob/main/profile/bop.png"></p>

<p align="center"><img src="https://i.imgur.com/5Qzjnjl.png"> <a href="https://github.com/Glitchfiend/TerraBlender"><img src="https://i.imgur.com/bm33WkP.png"></a> <a href="https://discord.gg/GyyzU6T"><img src="https://i.imgur.com/DcQnyAG.png"></a></p>
<p align="center"><img src="https://i.imgur.com/5Qzjnjl.png"> <a href="https://github.com/Glitchfiend/TerraBlender"><img src="https://i.imgur.com/bm33WkP.png"></a></p>

<p align="center"><a href="https://discord.gg/GyyzU6T"><img src="https://github.com/Glitchfiend/.github/blob/main/profile/discord.png"></a></p>

**Biomes O' Plenty** is an expansive biome mod for Minecraft that adds a slew of **new, unique biomes to the Overworld, Nether, and End!** To go along with the new biomes, it adds **new plants, flowers, trees, building blocks, and much more!**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-02-15T23:51:12.4888173 Registries
// 1.20.4 2024-02-16T23:49:49.4194403 Registries
bec08031dc5126119d3c7a1033703f8235bdf56e data/biomesoplenty/damage_type/bramble.json
41f8df67f585538edc9847b6754275d24b813e06 data/biomesoplenty/damage_type/fumarole.json
1db19ce8d33b8c131955b60ed830200bbee6a912 data/biomesoplenty/worldgen/biome/aspen_glade.json
Expand All @@ -17,10 +17,10 @@ d4a9226ceaef3cf4eed45892e027c1eabf9fcd72 data/biomesoplenty/worldgen/biome/dune_
b3eae91d1d02cfda03e70a555aaaa1bc7028bd61 data/biomesoplenty/worldgen/biome/end_reef.json
3a72fd6fdefdedcc67c90d5a8b06fc647086fc83 data/biomesoplenty/worldgen/biome/end_wilds.json
a89d541384f1a879bb82d9c984d98c512474d27c data/biomesoplenty/worldgen/biome/erupting_inferno.json
d60223aecf7e092fd753a8de34e0d0058a331a53 data/biomesoplenty/worldgen/biome/field.json
00215227edcd7dcdcf9731656860dad1e3d68d79 data/biomesoplenty/worldgen/biome/field.json
0ca60f25f9961787ec5f174f8be6f29463c4decc data/biomesoplenty/worldgen/biome/fir_clearing.json
83a5d2dfdd6a0e7fd5a8c3d111c863bc254f6604 data/biomesoplenty/worldgen/biome/floodplain.json
88a7d57d8776b0196ac2b71039b71299d0a1b930 data/biomesoplenty/worldgen/biome/forested_field.json
b120a6d00298d7e63f2458feaeb763d0f45a969e data/biomesoplenty/worldgen/biome/forested_field.json
b50746f2c174b41608eaf7b9a4ea927ed2ac0a03 data/biomesoplenty/worldgen/biome/fungal_jungle.json
d9000040ce4407e603b2089bb386181a6f4c4427 data/biomesoplenty/worldgen/biome/glowing_grotto.json
7a1c57597ceed578a6a9ad29bb5475d766eeb4ed data/biomesoplenty/worldgen/biome/grassland.json
Expand Down Expand Up @@ -152,8 +152,7 @@ ed721b819f2b9ee9315389913d189902a8925629 data/biomesoplenty/worldgen/configured_
33bc88ffffb0bf9918842fd518f5b434ce324987 data/biomesoplenty/worldgen/configured_feature/flower_coniferous_forest.json
c7d25ac7875db71cf74e75eecfa951e05724fa54 data/biomesoplenty/worldgen/configured_feature/flower_default_extended.json
4fdfa66df3f981cfcccf7142725380e1592945cc data/biomesoplenty/worldgen/configured_feature/flower_end_wilds.json
acadf67b3ddae8bb4f6feee2036394e612ae1ddb data/biomesoplenty/worldgen/configured_feature/flower_field_1.json
442a5bcc3ca24db935e07b46d112c1a8c5842edb data/biomesoplenty/worldgen/configured_feature/flower_field_2.json
f08cbf232f5f4f13a337d5db15cefffd94e3629b data/biomesoplenty/worldgen/configured_feature/flower_field.json
c9ea79a9695944845e10e169dc2ca7b091d957c3 data/biomesoplenty/worldgen/configured_feature/flower_grassland.json
85287e70a850677979308acfe02d7991a35069b1 data/biomesoplenty/worldgen/configured_feature/flower_jacaranda_glade.json
5cd38ca5da0f52c69aa1f1e67e28c06728684b9c data/biomesoplenty/worldgen/configured_feature/flower_lavender.json
Expand Down Expand Up @@ -247,7 +246,7 @@ ba2ea6e4b7a2c7e8be1a744c91300e6c26a5f9c9 data/biomesoplenty/worldgen/configured_
e044cfc0126d8f2a16bf8190eb8eaa72fdb07722 data/biomesoplenty/worldgen/configured_feature/patch_sea_oats.json
490897b03b2cb822737519650a9abe093070f922 data/biomesoplenty/worldgen/configured_feature/patch_sprouts.json
0d39dbb81db06fd02dfdc7e545eafdc9fe92fe58 data/biomesoplenty/worldgen/configured_feature/patch_tall_lavender.json
3b9c9e0c22bc19b09302bbd656de739e85ac2efb data/biomesoplenty/worldgen/configured_feature/patch_tall_white_lavender.json
318b03cef4f9cc5fd99ac9591b984e1b16fc5c49 data/biomesoplenty/worldgen/configured_feature/patch_tall_white_lavender.json
b4914601d389d8d28f9e785dcb5781f0742087a2 data/biomesoplenty/worldgen/configured_feature/patch_tiny_cactus.json
eb73d3141aa51f279ed8394438edf5fb43556c05 data/biomesoplenty/worldgen/configured_feature/patch_tundra_shrubs.json
8609b9965bb226b2d8b43ca84ce725e4683eb451 data/biomesoplenty/worldgen/configured_feature/patch_watergrass.json
Expand Down Expand Up @@ -431,8 +430,7 @@ b8974c150e3f6ec95a353ce0f476fb28f90d5fdc data/biomesoplenty/worldgen/placed_feat
808e3f9afc04fcf6b772f5c41785277b0fd1dbc0 data/biomesoplenty/worldgen/placed_feature/flower_default_extended_15.json
808e3f9afc04fcf6b772f5c41785277b0fd1dbc0 data/biomesoplenty/worldgen/placed_feature/flower_default_extended_6.json
4f2c049dcb3656a651c0a56d6d6586084c5e04f4 data/biomesoplenty/worldgen/placed_feature/flower_end_wilds.json
240ac02e7b7d783f0116eec633603efdcf9ae445 data/biomesoplenty/worldgen/placed_feature/flower_field_1.json
c970201d2b5c1226ec8dd81c448c4622a72d804c data/biomesoplenty/worldgen/placed_feature/flower_field_2.json
135c9953e1b883564a631e63ba06bd2afd9c519a data/biomesoplenty/worldgen/placed_feature/flower_field.json
38a9eb5981ba35d7969497dd649a159b62727500 data/biomesoplenty/worldgen/placed_feature/flower_grassland.json
0b4c12cbc89f5196192d9a3527ee0aabd82e3f12 data/biomesoplenty/worldgen/placed_feature/flower_jacaranda_glade.json
5841cb63baca82268d21b60ad615e979991693bc data/biomesoplenty/worldgen/placed_feature/flower_lavender.json
Expand Down Expand Up @@ -561,7 +559,7 @@ f82df4d3ed193a30a50e0ac76ccba37646b7b097 data/biomesoplenty/worldgen/placed_feat
ccdf6e0b92bfd77a96bbeb97dfb010019b2e7f27 data/biomesoplenty/worldgen/placed_feature/patch_tall_grass_64.json
17f77d10841284365212850c4605addf7005a003 data/biomesoplenty/worldgen/placed_feature/patch_tall_lavender.json
0b157d4a63f1567fc9d387f61ef9f83892c2ef38 data/biomesoplenty/worldgen/placed_feature/patch_tall_lavender_forest.json
05e8551fc91790211a14349db6d84aa819244461 data/biomesoplenty/worldgen/placed_feature/patch_tall_white_lavender.json
269db231644902921d0f57e2c8503e8df6311714 data/biomesoplenty/worldgen/placed_feature/patch_tall_white_lavender.json
a7d5138e8625a5013d99a953ee8bd04adf221dfd data/biomesoplenty/worldgen/placed_feature/patch_tiny_cactus.json
d19125aab165d60c5099b3911538fa2f43456aa8 data/biomesoplenty/worldgen/placed_feature/patch_tundra_shrubs.json
613348827906c850e2cf2e4e9c5fb89091b13b59 data/biomesoplenty/worldgen/placed_feature/patch_watergrass_10.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"minecraft:patch_berry_rare",
"biomesoplenty:rose_bush_normal",
"biomesoplenty:sunflower",
"biomesoplenty:flower_field",
"biomesoplenty:trees_field",
"biomesoplenty:flower_field_1",
"biomesoplenty:patch_tall_white_lavender",
"biomesoplenty:patch_sprouts_10",
"biomesoplenty:flower_wildflower",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"minecraft:patch_berry_rare",
"biomesoplenty:rose_bush_normal",
"biomesoplenty:sunflower",
"biomesoplenty:flower_field",
"biomesoplenty:trees_field_forest",
"biomesoplenty:flower_field_2",
"biomesoplenty:patch_sprouts_15",
"biomesoplenty:flower_wildflower",
"biomesoplenty:patch_grass_6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "minecraft:lily_of_the_valley"
},
"weight": 1
},
{
"data": {
"Name": "biomesoplenty:white_lavender"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,24 @@
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "biomesoplenty:tall_white_lavender",
"Properties": {
"half": "lower"
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "biomesoplenty:tall_white_lavender",
"Properties": {
"half": "lower"
}
},
"weight": 3
},
{
"data": {
"Name": "biomesoplenty:white_lavender"
},
"weight": 1
}
}
]
}
}
},
Expand All @@ -26,7 +37,7 @@
}
]
},
"tries": 96,
"tries": 512,
"xz_spread": 7,
"y_spread": 3
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"feature": "biomesoplenty:flower_field_1",
"feature": "biomesoplenty:flower_field",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 3
"chance": 5
},
{
"type": "minecraft:in_square"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 3
"chance": 7
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,18 +392,17 @@ public static Biome field(HolderGetter<PlacedFeature> placedFeatureGetter, Holde
BiomeDefaultFeatures.addRareBerryBushes(biomeBuilder);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.ROSE_BUSH_NORMAL);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.SUNFLOWER);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.FLOWER_FIELD);

// Vegetation
if (forest)
{
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.TREES_FIELD_FOREST);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.FLOWER_FIELD_2);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.PATCH_SPROUTS_15);
}
else
{
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.TREES_FIELD);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.FLOWER_FIELD_1);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.PATCH_TALL_WHITE_LAVENDER);
addFeature(biomeBuilder, GenerationStep.Decoration.VEGETAL_DECORATION, BOPVegetationPlacements.PATCH_SPROUTS_10);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
import net.minecraft.world.level.levelgen.feature.trunkplacers.CherryTrunkPlacer;
import net.minecraft.world.level.levelgen.placement.PlacedFeature;

import java.util.List;

public class BOPVegetationFeatures
{
public static final ResourceKey<ConfiguredFeature<?, ?>> HIGH_GRASS = BOPFeatureUtils.createKey("high_grass");
Expand Down Expand Up @@ -102,8 +104,7 @@ public class BOPVegetationFeatures
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_CLOVER_PATCH = BOPFeatureUtils.createKey("flower_clover_patch");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_CONIFEROUS_FOREST = BOPFeatureUtils.createKey("flower_coniferous_forest");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_DEFAULT_EXTENDED = BOPFeatureUtils.createKey("flower_default_extended");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_FIELD_1 = BOPFeatureUtils.createKey("flower_field_1");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_FIELD_2 = BOPFeatureUtils.createKey("flower_field_2");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_FIELD = BOPFeatureUtils.createKey("flower_field");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_GRASSLAND = BOPFeatureUtils.createKey("flower_grassland");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_JACARANDA_GLADE = BOPFeatureUtils.createKey("flower_jacaranda_glade");
public static final ResourceKey<ConfiguredFeature<?, ?>> FLOWER_LAVENDER = BOPFeatureUtils.createKey("flower_lavender");
Expand Down Expand Up @@ -265,7 +266,7 @@ public static void bootstrap(BootstapContext<ConfiguredFeature<?, ?>> context)
register(context, BOPVegetationFeatures.PATCH_SEA_OATS, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.SEA_OATS))));
register(context, BOPVegetationFeatures.PATCH_SPROUTS, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.SPROUT))));
register(context, BOPVegetationFeatures.PATCH_TALL_LAVENDER, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.TALL_LAVENDER))));
register(context, BOPVegetationFeatures.PATCH_TALL_WHITE_LAVENDER, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.TALL_WHITE_LAVENDER))));
register(context, BOPVegetationFeatures.PATCH_TALL_WHITE_LAVENDER, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(BOPBlocks.TALL_WHITE_LAVENDER.defaultBlockState(), 3).add(BOPBlocks.WHITE_LAVENDER.defaultBlockState(), 1).build())), List.of(), 512));
register(context, BOPVegetationFeatures.PATCH_TINY_CACTUS, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.TINY_CACTUS))));
register(context, BOPVegetationFeatures.PATCH_TUNDRA_SHRUBS, Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.TUNDRA_SHRUB))));
register(context, BOPVegetationFeatures.PATCH_WATERGRASS, Feature.RANDOM_PATCH, waterPatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.WATERGRASS))));
Expand Down Expand Up @@ -311,8 +312,7 @@ public static void bootstrap(BootstapContext<ConfiguredFeature<?, ?>> context)
register(context, BOPVegetationFeatures.FLOWER_CLOVER_PATCH, Feature.FLOWER, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(Blocks.AZURE_BLUET))));
register(context, BOPVegetationFeatures.FLOWER_CONIFEROUS_FOREST, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(Blocks.CORNFLOWER.defaultBlockState(), 1).add(Blocks.OXEYE_DAISY.defaultBlockState(), 1).add(Blocks.POPPY.defaultBlockState(), 1).add(Blocks.DANDELION.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_DEFAULT_EXTENDED, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(Blocks.OXEYE_DAISY.defaultBlockState(), 1).add(Blocks.POPPY.defaultBlockState(), 1).add(Blocks.DANDELION.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_FIELD_1, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(BOPBlocks.WHITE_LAVENDER.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_FIELD_2, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(Blocks.LILY_OF_THE_VALLEY.defaultBlockState(), 1).add(BOPBlocks.WHITE_LAVENDER.defaultBlockState(), 1).add(Blocks.POPPY.defaultBlockState(), 1).add(Blocks.DANDELION.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_FIELD, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(BOPBlocks.WHITE_LAVENDER.defaultBlockState(), 1).add(Blocks.POPPY.defaultBlockState(), 1).add(Blocks.DANDELION.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_GRASSLAND, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(BOPBlocks.PINK_DAFFODIL.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_JACARANDA_GLADE, Feature.FLOWER, grassPatch(new WeightedStateProvider(SimpleWeightedRandomList.<BlockState>builder().add(Blocks.LILY_OF_THE_VALLEY.defaultBlockState(), 3).add(Blocks.BLUE_ORCHID.defaultBlockState(), 1)), 64));
register(context, BOPVegetationFeatures.FLOWER_LAVENDER, Feature.FLOWER, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(BOPBlocks.LAVENDER))));
Expand Down
Loading

0 comments on commit d79125e

Please sign in to comment.