Skip to content

Commit d781ee9

Browse files
committed
Merge remote-tracking branch 'upstream/master' into expanded-trees
2 parents 2120edb + ff61943 commit d781ee9

File tree

41 files changed

+265
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+265
-54
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ jobs:
9797
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.7/0.16.14/1.0.3/server/jar
9898
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/sLmbxWpX/fabric-api-0.128.1%2B1.21.7.jar
9999
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/PAYctH3X/packtest-2.2-mc1.21.7.jar
100-
- version: '1.21.9'
101-
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.9/0.17.2/1.1.0/server/jar
102-
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/rWWImuoz/fabric-api-0.133.14%2B1.21.9.jar
103-
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/PAYctH3X/packtest-2.2-mc1.21.7.jar
100+
- version: '1.21.10'
101+
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.10/0.18.1/1.1.0/server/jar
102+
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/dQ3p80zK/fabric-api-0.138.3%2B1.21.10.jar
103+
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/11yGLsYO/packtest-2.3-beta1-mc1.21.10.jar
104104
name: 'test-${{ matrix.version }}'
105105
runs-on: ubuntu-24.04
106106
steps:

gm4/plugins/backwards.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ def backport(pack: Pack[Any], format: int, run: Callable[[str, NamespaceFile], N
6868
raise e
6969
if new_resource:
7070
overlay = pack.overlays[f"backport_{format}"]
71-
overlay.supported_formats = { "min_inclusive": 0, "max_inclusive": format }
72-
overlay.min_format = 0
71+
overlay.supported_formats = { "min_inclusive": 1, "max_inclusive": format }
72+
overlay.min_format = 1
7373
overlay.max_format = format
7474
overlay[path] = new_resource
7575

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# @template gm4:test_box
2-
# @dummy ~3 ~1 ~3
1+
# @template gm4:test_platform
2+
# @dummy ~1 ~1 ~1
33
# @timeout 200
44

5-
summon bat ~3 ~2 ~3 {Tags:[gm4_test_bat]}
5+
summon bat ~1 ~2 ~1 {Tags:[gm4_test_bat]}
66

7-
await not entity @e[tag=gm4_test_bat,distance=..10]
7+
await not entity @e[tag=gm4_test_bat,dx=2,dy=2,dz=2]

gm4_block_compressors/data/gm4_block_compressors/test/destroy.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# @template gm4:test_platform
22
# @dummy ~ ~1 ~
3+
# @optional
34

45
execute positioned ~1.5 ~1.5 ~1.5 run function gm4_block_compressors:machine/create
56
give @s diamond_pickaxe

gm4_book_binders/data/gm4_book_binders/test/debinding.mcfunction

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ dummy @s use entity @e[tag=gm4_book_binder,distance=..3,limit=1]
1212

1313
await entity @s[advancements={gm4:book_binders_debind=true}]
1414

15+
tp @e[type=item,dx=2,dy=2,dz=2] @s
16+
1517
await items entity @s container.* minecraft:paper[enchantments={silk_touch:1},custom_data~{gm4_book_binders:{item:"enchanted_page"}}]
1618
assert items entity @s container.* minecraft:paper[enchantments={efficiency:3},custom_data~{gm4_book_binders:{item:"enchanted_page"}}]

gm4_cooler_caves/beet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ data_pack:
66
load: .
77
overlays:
88
- formats:
9-
min_inclusive: 0
9+
min_inclusive: 1
1010
max_inclusive: 81
11-
min_format: 0
11+
min_format: 1
1212
max_format: 81
1313
directory: backport_81
1414

gm4_crossbow_cartridges/beet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ data_pack:
66
load: .
77
overlays:
88
- formats:
9-
min_inclusive: 0
9+
min_inclusive: 1
1010
max_inclusive: 81
11-
min_format: 0
11+
min_format: 1
1212
max_format: 81
1313
directory: backport_81
1414

gm4_desire_lines/data/gm4_celaro_shamir/function/active.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
scoreboard players remove $probability gm4_desire_lines 1000
88

99
# secondary celaro effect: invisibility inside foliage
10-
execute if predicate gm4_celaro_shamir:stealth_active run effect give @s invisibility 1 0 true
10+
execute at @s if predicate gm4_celaro_shamir:stealth_active run effect give @s invisibility 1 0 true

gm4_desire_lines/data/gm4_desire_lines/function/init.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ scoreboard objectives add gm4_dl_affcoarse dummy
44
# constants
55
scoreboard players set #base_probability gm4_desire_lines 1
66
scoreboard players set #sneak_penality gm4_desire_lines -5
7-
scoreboard players set #sprint_penalty gm4_desire_lines 5
8-
scoreboard players set #impact_penalty gm4_desire_lines 15
7+
scoreboard players set #sprint_penalty gm4_desire_lines 3
8+
scoreboard players set #impact_penalty gm4_desire_lines 8
99

1010
execute unless score desire_lines gm4_modules matches 1 run data modify storage gm4:log queue append value {type:"install",module:"Desire Lines"}
1111
execute unless score desire_lines gm4_earliest_version < desire_lines gm4_modules run scoreboard players operation desire_lines gm4_earliest_version = desire_lines gm4_modules

gm4_disassemblers/generate_disassembly.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"shears": 239,
5656
"fishing_rod": 65,
5757
"flint_and_steel": 65,
58+
"shield": 336,
5859
}
5960

6061

@@ -94,7 +95,9 @@ def beet_default(ctx: Context):
9495
})
9596
continue
9697

97-
if ingredient.startswith("#"):
98+
if "wooden_tool_materials" in ingredient:
99+
entry: Any = {"type": "minecraft:item", "name": "minecraft:stick"}
100+
elif ingredient.startswith("#"):
98101
entry: Any = {"type": "minecraft:tag", "name": ingredient[1:], "expand": True}
99102
else:
100103
entry: Any = {"type": "minecraft:item", "name": ingredient}

0 commit comments

Comments
 (0)