Skip to content

Commit

Permalink
Merge branch '1.21.x' into no-build/l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamaized authored Oct 16, 2024
2 parents 064274f + cf13dbb commit 78164ce
Show file tree
Hide file tree
Showing 37 changed files with 443 additions and 53 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/azure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Azure security for Pull Requests

on:
pull_request:
branches:
- '*'

jobs:
validate:
runs-on: ubuntu-latest

permissions:
pull-requests: read

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Prevent file change
uses: xalvarez/prevent-file-change-action@v1
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: .*\azure-pipelines.yml
9 changes: 7 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ steps:
[$(DiscordMessage)]
condition: and(eq(variables.SKIP_BUILD, 'false'), eq(variables['CreateArtifacts'], 'True'))

- powershell: |
Write-Host "##vso[task.setvariable variable=RunMavenPublishTask]True"
displayName: Allow Maven Publish tasks
condition: and(and(succeeded(), eq(variables['CreateArtifacts'], 'True')), eq(variables.SKIP_BUILD, 'false'))
- task: Gradle@2
displayName: Publish to Maven
inputs:
Expand All @@ -174,7 +179,7 @@ steps:
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'publish'
condition: and(and(succeeded(), eq(variables['CreateArtifacts'], 'True')), eq(variables.SKIP_BUILD, 'false'))
condition: and(and(succeeded(), eq(variables['RunMavenPublishTask'], 'True')), eq(variables.SKIP_BUILD, 'false'))
env:
ARTIFACTORY_USER: $(Artifactory.User)
ARTIFACTORY_PASS: $(Artifactory.Password)
Expand All @@ -187,7 +192,7 @@ steps:
messageType: 'embeds'
embeds: |
[$(DiscordMessageMavenFailed)]
condition: failed()
condition: and(and(failed(), eq(variables['RunMavenPublishTask'], 'True')), eq(variables.SKIP_BUILD, 'false'))

- script: |
# stop the Gradle daemon to ensure no files are left open (impacting the save cache operation later)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ afterEvaluate { // DO NOT ASK... it fixes the runClient and family tasks :harold
}

jar {
exclude 'data/twilightforest/functions/**'
exclude 'data/twilightforest/function/**'
if (hasProperty("CIRevision"))
exclude 'data/twilightforest/structure/lich_tower'
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-09-15T21:52:34.189045622 Registries
// 1.21.1 2024-10-15T02:33:32.127678962 Registries
9089ada9ce06fd30adf8b10e50f02233c7d5a76e data/minecraft/twilight/wood_palettes/acacia.json
dca1ef01d0df4e956fd414782de57c25dfddd290 data/minecraft/twilight/wood_palettes/birch.json
01becb45438b7f2bfdc77baba72bc986341510c8 data/minecraft/twilight/wood_palettes/crimson.json
Expand Down Expand Up @@ -118,7 +118,7 @@ cd3724ced610878eed7614232aa3df1c1d501f72 data/twilightforest/worldgen/biome/clea
17c5d64992834cfb5edd94617a56698fbd5328d7 data/twilightforest/worldgen/biome/dark_forest_center.json
afbd0904fbe5fdf5e5dcf4a6657138a379e2ad76 data/twilightforest/worldgen/biome/dense_forest.json
6554f2be9d0faeabfa8a652ddb059fc61367f177 data/twilightforest/worldgen/biome/dense_mushroom_forest.json
36c0bc6ee39058dcb350f4a807151a7612f1b007 data/twilightforest/worldgen/biome/enchanted_forest.json
455c74918cb6c93ac993806592dee6381a17f0d7 data/twilightforest/worldgen/biome/enchanted_forest.json
0f7add8c82f0867894000c6f3a5db4bc48b9027f data/twilightforest/worldgen/biome/final_plateau.json
16a6c39507c7bfda243d44efebf67c427688aa24 data/twilightforest/worldgen/biome/fire_swamp.json
73e266bb4fc8eaad4094adc4133efc6bf25f6e58 data/twilightforest/worldgen/biome/firefly_forest.json
Expand Down Expand Up @@ -148,7 +148,10 @@ fc967db45aba7ff6345e2b3474a33e812d4340dc data/twilightforest/worldgen/configured
ab75ab20d3277ecf1272d3feed8028c122e12769 data/twilightforest/worldgen/configured_feature/dark_pumpkins.json
1a0558d6d59585ab34a471dd18acf173abf9a2ef data/twilightforest/worldgen/configured_feature/dark_red_mushrooms.json
571fb66edc9ad540d5d783e3bc1d268ae5f1b6bf data/twilightforest/worldgen/configured_feature/default_fallen_logs.json
b440bd1dac981632071cf8fb6e1a340562eb7a2b data/twilightforest/worldgen/configured_feature/dense_ferns.json
ab76c025e8ae4ec52230793dd2609a34cfec97dc data/twilightforest/worldgen/configured_feature/dense_large_ferns.json
6f97a684e664e5f261e2ada0ba9f818d8556c149 data/twilightforest/worldgen/configured_feature/druid_hut.json
9032ca20c46420ee68c1f3412ff705ef53c5b5ab data/twilightforest/worldgen/configured_feature/enchanted_forest_vines.json
3afb7351561a98f14065cff830300735f3985625 data/twilightforest/worldgen/configured_feature/fallen_leaves.json
8cec51f8c8ef53061114075cca36e703dd7a0617 data/twilightforest/worldgen/configured_feature/fancy_well.json
244b31e5e86c79c1637e2d89902eddf50c2cb4d8 data/twilightforest/worldgen/configured_feature/fiddlehead.json
Expand Down Expand Up @@ -222,7 +225,7 @@ c923cb36a4a7190f2bec1ad3ce6be81fb012e755 data/twilightforest/worldgen/configured
486cff87aee3cd06a82a7d75d8b9bf509102d7f5 data/twilightforest/worldgen/configured_feature/tree/selector/canopy_trees.json
8d7b406fda16d82162f4851b28b52155853613c5 data/twilightforest/worldgen/configured_feature/tree/selector/dark_forest_trees.json
96861e6a3bb90f63112617abf3f2ac8f4f8421c3 data/twilightforest/worldgen/configured_feature/tree/selector/dense_canopy_trees.json
7f621cf20a68d70764e47a1365e26f948ac9445d data/twilightforest/worldgen/configured_feature/tree/selector/enchanted_forest_trees.json
f57dede3ce3fd8ab45b79f9ed494d49cbeb5c4c6 data/twilightforest/worldgen/configured_feature/tree/selector/enchanted_forest_trees.json
9c42c640892024958f9171d185ba4a18a5cca734 data/twilightforest/worldgen/configured_feature/tree/selector/firefly_forest_trees.json
77679e79279a34d2afb4f0590862298960f8dd89 data/twilightforest/worldgen/configured_feature/tree/selector/highlands_trees.json
636310ed05f9ba187f75a0492914d76034b706d0 data/twilightforest/worldgen/configured_feature/tree/selector/snowy_forest_trees.json
Expand Down Expand Up @@ -266,7 +269,11 @@ c1cdd1abaa4f2a0a7ed4654dc1990477411d9dee data/twilightforest/worldgen/placed_fea
ed07f065cfb7a5086353305b5c8dc01c4e35e82e data/twilightforest/worldgen/placed_feature/dark_pumpkins.json
4c01547375217b1f29972e9f383f39447c23718b data/twilightforest/worldgen/placed_feature/dark_red_mushrooms.json
53e9eb90d244012f3ccbfba21ee44aa346f2d7a1 data/twilightforest/worldgen/placed_feature/default_fallen_logs.json
8380d1e76bf8dbee27ab7e28c3525d43f3e1ac20 data/twilightforest/worldgen/placed_feature/dense_ferns.json
bb9784d9ccca1f1a47065c00c53e64cd92c26d82 data/twilightforest/worldgen/placed_feature/dense_large_ferns.json
7cee9c2996dac31b077e6479bef3524817b91011 data/twilightforest/worldgen/placed_feature/dense_water_lake.json
77bc97d3a7c316f9a7cef0fc3c687b0a5cf0e14a data/twilightforest/worldgen/placed_feature/druid_hut.json
558fc6fc1afda17c9b52e9864b67dd03a4e6af4c data/twilightforest/worldgen/placed_feature/enchanted_forest_vines.json
0648665b104dc44bac69861cd8d240c941ebc50d data/twilightforest/worldgen/placed_feature/fallen_leaves.json
575df3da21e8b7a4fdbd4a1bc6f89495f8447a45 data/twilightforest/worldgen/placed_feature/fiddlehead.json
4450866e7c5041ea9e6fceafb690cb5445f5300b data/twilightforest/worldgen/placed_feature/fire_jet.json
Expand Down Expand Up @@ -303,7 +310,7 @@ c3fc67e79de094ff946f1ec84d4fd4ab92f5ec67 data/twilightforest/worldgen/placed_fea
217561cafb8d2b0f498b72a07463ed85b50bf6cb data/twilightforest/worldgen/placed_feature/small_diorite.json
55de6f980fe917425a411568dbae60ca2ea2caa2 data/twilightforest/worldgen/placed_feature/small_granite.json
38028922ed95c74e215e3d73b03aba6f35d7bcf5 data/twilightforest/worldgen/placed_feature/smoker.json
d0914a5b0f3a2ee56393aee240d07ef50d8cd0c0 data/twilightforest/worldgen/placed_feature/snow_under_trees.json
ae12871905d6b984a4b742b87fe7973645c15a9d data/twilightforest/worldgen/placed_feature/snow_under_trees.json
94c65233419c08cfb5f77cf4ca20233527ef30c7 data/twilightforest/worldgen/placed_feature/sparse_mushglooms.json
ec487e589c0848f71eb9af87b55c15591514501e data/twilightforest/worldgen/placed_feature/spruce_fallen_log.json
4208c165f5a2f75a47dffd8e133234648997c161 data/twilightforest/worldgen/placed_feature/stone_circle.json
Expand Down Expand Up @@ -353,7 +360,7 @@ ab9ab413230504cd9f9bb3c899d29183f7a544c3 data/twilightforest/worldgen/structure/
981f279d63889e26d2d3a41f1dd5d82684797006 data/twilightforest/worldgen/structure/medium_hollow_hill.json
aa4567b8171a3bb0d739364aa9e8bb5a5fead921 data/twilightforest/worldgen/structure/mushroom_tower.json
2a51406fdc1088d7de4914189d81c69bf788d77c data/twilightforest/worldgen/structure/naga_courtyard.json
4ff0066540dbb64483260da0b4d60d6e622304b2 data/twilightforest/worldgen/structure/quest_grove.json
ebef5750d9a6a7409d072acc8681ed504a05d160 data/twilightforest/worldgen/structure/quest_grove.json
da563625a31738c46356e6c58c35824f5d98c2c4 data/twilightforest/worldgen/structure/small_hollow_hill.json
2db553ab8a6b2ca93ce23fe0738645cff99e2520 data/twilightforest/worldgen/structure/swamp_hollow_tree.json
c80eb035dafc0e1686ca2cffc235606e90cc189b data/twilightforest/worldgen/structure/troll_cave.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
},
"features": [
[],
[],
[
"twilightforest:dense_water_lake"
],
[],
[],
[
Expand Down Expand Up @@ -64,13 +66,10 @@
],
[],
[
"minecraft:patch_tall_grass",
"minecraft:patch_grass_badlands",
"minecraft:patch_grass_savanna",
"minecraft:patch_sugar_cane",
"minecraft:patch_grass_jungle",
"minecraft:patch_large_fern",
"twilightforest:mayapple",
"twilightforest:dense_ferns",
"twilightforest:dense_large_ferns",
"twilightforest:flower_placer",
"twilightforest:grove_ruins",
"twilightforest:stone_circle",
Expand All @@ -79,13 +78,14 @@
"twilightforest:hollow_stump",
"twilightforest:hollow_log",
"twilightforest:tree/selector/enchanted_forest_trees",
"twilightforest:tree/selector/dense_canopy_trees",
"twilightforest:fiddlehead",
"minecraft:vines",
"twilightforest:tree/selector/canopy_trees",
"twilightforest:default_fallen_logs"
],
[
"minecraft:freeze_top_layer"
"minecraft:freeze_top_layer",
"twilightforest:enchanted_forest_vines"
]
],
"has_precipitation": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:fern"
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
-1,
0
],
"tag": "minecraft:dirt"
}
]
}
}
]
},
"tries": 64,
"xz_spread": 7,
"y_spread": 3
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:large_fern",
"Properties": {
"half": "lower"
}
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
-1,
0
],
"tag": "minecraft:dirt"
}
]
}
}
]
},
"tries": 64,
"xz_spread": 7,
"y_spread": 3
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "twilightforest:enchanted_forest_vines",
"config": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
{
"chance": 0.1,
"chance": 0.15,
"feature": {
"feature": "twilightforest:tree/large_rainbow_oak",
"placement": []
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"feature": "twilightforest:dense_ferns",
"placement": [
{
"type": "minecraft:count",
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"data": 3,
"weight": 1
},
{
"data": 4,
"weight": 1
}
]
}
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"feature": "twilightforest:dense_large_ferns",
"placement": [
{
"type": "minecraft:count",
"count": 2
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"feature": "twilightforest:water_lake",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 4
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "OCEAN_FLOOR"
},
{
"type": "twilightforest:no_structure",
"additional_clearance": 0,
"occupies_surface": true,
"occupies_underground": true
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"feature": "twilightforest:enchanted_forest_vines",
"placement": [
{
"type": "minecraft:heightmap",
"heightmap": "MOTION_BLOCKING"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"feature": "twilightforest:snow_under_trees",
"placement": [
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allow_biome_surface_decorations": false,
"allow_biome_underground_decorations": true,
"biomes": "#twilightforest:valid_quest_grove_biomes",
"chunk_clearance_radius": 1,
"chunk_clearance_radius": 2,
"spawn_overrides": {
"ambient": {
"bounding_box": "full",
Expand Down
Loading

0 comments on commit 78164ce

Please sign in to comment.