Skip to content

Commit

Permalink
frozen vegetation moment
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Feb 18, 2025
1 parent 993a75f commit f69bf9a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"values": [
"minecraft:snowy_plains",
"minecraft:ice_spikes",
"minecraft:grove",
{
"id": "wilderwild:frozen_caves",
"required": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"values": [
"minecraft:snowy_plains",
"minecraft:ice_spikes",
{
"id": "wilderwild:frozen_caves",
"required": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"half": "lower"
}
},
"weight": 2
"weight": 1
},
{
"data": {
"Name": "wilderwild:frozen_fern"
},
"weight": 3
"weight": 2
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"half": "lower"
}
},
"weight": 2
"weight": 1
},
{
"data": {
"Name": "wilderwild:frozen_short_grass"
},
"weight": 3
"weight": 2
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,8 @@ private void generateFeatureTags() {

this.getOrCreateTagBuilder(WWBiomeTags.HAS_FROZEN_PLAIN_GRASS)
.add(Biomes.SNOWY_PLAINS)
.add(Biomes.ICE_SPIKES)
.add(Biomes.GROVE)
.addOptional(WWBiomes.FROZEN_CAVES);

this.getOrCreateTagBuilder(WWBiomeTags.HAS_FROZEN_TAIGA_GRASS)
Expand All @@ -1994,6 +1996,7 @@ private void generateFeatureTags() {

this.getOrCreateTagBuilder(WWBiomeTags.HAS_FROZEN_PLAIN_TALL_GRASS)
.add(Biomes.SNOWY_PLAINS)
.add(Biomes.ICE_SPIKES)
.addOptional(WWBiomes.FROZEN_CAVES);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ public final class WWConfiguredFeatures {
.add(WWBlocks.FROZEN_FERN.defaultBlockState(), 4)
.build();
public static final SimpleWeightedRandomList<BlockState> FROZEN_LARGE_FERN_POOL = SimpleWeightedRandomList.<BlockState>builder()
.add(WWBlocks.FROZEN_LARGE_FERN.defaultBlockState(), 2)
.add(WWBlocks.FROZEN_FERN.defaultBlockState(), 3)
.add(WWBlocks.FROZEN_LARGE_FERN.defaultBlockState(), 1)
.add(WWBlocks.FROZEN_FERN.defaultBlockState(), 2)
.build();
public static final SimpleWeightedRandomList<BlockState> FROZEN_TALL_GRASS_POOL = SimpleWeightedRandomList.<BlockState>builder()
.add(WWBlocks.FROZEN_TALL_GRASS.defaultBlockState(), 2)
.add(WWBlocks.FROZEN_SHORT_GRASS.defaultBlockState(), 3)
.add(WWBlocks.FROZEN_TALL_GRASS.defaultBlockState(), 1)
.add(WWBlocks.FROZEN_SHORT_GRASS.defaultBlockState(), 2)
.build();

public static final FrozenLibConfiguredFeature<RandomPatchConfiguration, ConfiguredFeature<RandomPatchConfiguration, ?>> PATCH_TAIGA_FROZEN_GRASS = WWFeatureUtils.register("patch_taiga_frozen_grass");
Expand Down

0 comments on commit f69bf9a

Please sign in to comment.