Skip to content

Commit 065cdc1

Browse files
Merge remote-tracking branch 'upstream/master' into liquid-tanks-1.20
2 parents 9e510b0 + dc659e3 commit 065cdc1

File tree

1,111 files changed

+30560
-11393
lines changed

Some content is hidden

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

1,111 files changed

+30560
-11393
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,18 @@ jobs:
9393
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.5/0.16.13/1.0.3/server/jar
9494
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/FZ4q3wQK/fabric-api-0.119.9%2B1.21.5.jar
9595
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/Swh7th09/packtest-2.1-mc1.21.5.jar
96-
- version: '1.21.7'
96+
- version: '1.21.7'
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.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
104+
- version: '1.21.11'
105+
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.11-rc2/0.18.1/1.1.0/server/jar
106+
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/RDb9rvBm/fabric-api-0.139.4%2B1.21.11.jar
107+
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/GN6fvTsW/packtest-2.4-beta2-mc1.21.11.jar
100108
name: 'test-${{ matrix.version }}'
101109
runs-on: ubuntu-24.04
102110
steps:

base/assets/translations.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
key,en_us
2-
advancement.gm4.root.title,"Gamemode 4",
3-
advancement.gm4.root.description,"Semi-funny blurb about GM4",
2+
advancement.gm4.root.title,Gamemode 4
3+
advancement.gm4.root.description,Semi-funny blurb about GM4

base/data/gm4/tags/block/no_collision.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"minecraft:cave_vines_plant",
2828
"minecraft:cherry_sapling",
2929
"minecraft:cobweb",
30+
{"id": "minecraft:copper_torch", "required": false},
3031
"minecraft:crimson_fungus",
3132
"minecraft:crimson_roots",
3233
"minecraft:dark_oak_sapling",

base/data/gm4/tags/block/waterloggable.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
11
{
22
"values": [
3-
"#minecraft:rails",
3+
"#minecraft:all_signs",
4+
{"id": "#minecraft:bars", "required": false},
45
"#minecraft:campfires",
56
"#minecraft:candles",
7+
{"id": "#minecraft:chains", "required": false},
8+
{"id": "#minecraft:copper_chests", "required": false},
9+
{"id": "#minecraft:copper_golem_statues", "required": false},
10+
"#minecraft:corals",
611
"#minecraft:fences",
12+
{"id": "#minecraft:lanterns", "required": false},
713
"#minecraft:leaves",
8-
"#minecraft:all_signs",
14+
{"id": "#minecraft:lightning_rods", "required": false},
15+
"#minecraft:rails",
916
"#minecraft:slabs",
1017
"#minecraft:stairs",
1118
"#minecraft:trapdoors",
12-
"#minecraft:corals",
1319
"#minecraft:wall_corals",
1420
"#minecraft:wall_signs",
1521
"#minecraft:walls",
22+
{"id": "#minecraft:wooden_shelves", "required": false},
1623
"minecraft:amethyst_cluster",
1724
"minecraft:big_dripleaf",
1825
"minecraft:big_dripleaf_stem",
1926
"minecraft:black_stained_glass_pane",
2027
"minecraft:blue_stained_glass_pane",
2128
"minecraft:brown_stained_glass_pane",
2229
"minecraft:calibrated_sculk_sensor",
23-
"minecraft:chain",
30+
{ "id": "minecraft:chain", "required": false },
2431
"minecraft:chest",
2532
"minecraft:conduit",
2633
"minecraft:cyan_stained_glass_pane",

base/data/gm4/tags/entity_type/hostile.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"minecraft:hoglin",
1414
"minecraft:husk",
1515
"minecraft:magma_cube",
16+
{"id": "minecraft:parched", "required": false},
1617
"minecraft:phantom",
1718
"minecraft:piglin_brute",
1819
"minecraft:pillager",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"values": [
3+
{"id": "minecraft:camel_husk", "required": false},
34
"minecraft:cave_spider",
45
"minecraft:creaking",
56
"minecraft:drowned",
67
"minecraft:enderman",
78
"minecraft:piglin",
89
"minecraft:spider",
10+
{"id": "minecraft:zombie_nautilus", "required": false},
911
"minecraft:zombified_piglin"
1012
]
1113
}

base/data/gm4/tags/entity_type/passive.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@
88
"minecraft:cat",
99
"minecraft:chicken",
1010
"minecraft:cod",
11+
{"id": "minecraft:copper_golem", "required": false},
1112
"minecraft:cow",
1213
"minecraft:donkey",
1314
"minecraft:frog",
1415
"minecraft:glow_squid",
16+
{"id": "minecraft:happy_ghast", "required": false},
1517
"minecraft:horse",
1618
"minecraft:mooshroom",
1719
"minecraft:mule",
20+
{"id": "minecraft:nautilus", "required": false},
1821
"minecraft:ocelot",
1922
"minecraft:parrot",
2023
"minecraft:pig",

docs/making-a-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ meta:
8282
- shamir
8383
- enderpuff
8484

85-
# Either null or a link to the YouTube video
85+
# Either null or a link to the YouTube video. Not needed if there is no video
8686
video: null
8787
# Either null or a link to the wiki page
8888
wiki: https://wiki.gm4.co/wiki/Disassemblers

docs/resource-pack-management.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,50 @@ model_data:
196196
- reference: item/lump/thorianite
197197
```
198198

199+
- `base_model` (optional), a json (or yaml) object that will be merged into the base model's custom model data definition. This used when specific control over the minecraft base item model is required (e.g. adding a tints field for leather armor). The `base_model` json object will be merged into the `model` json object, overwriting existing fields.
200+
E.g. to acheive the following custom model data:
201+
```json
202+
{
203+
"threshold": 3420002,
204+
"model": {
205+
"type": "minecraft:model",
206+
"model": "gm4_scuba_gear:item/flippers",
207+
"tints": [
208+
{
209+
"type": "minecraft:dye",
210+
"default": -14455863
211+
}
212+
]
213+
}
214+
}
215+
```
216+
The following `base_model` config can be used:
217+
```yaml
218+
model_data:
219+
- item: leather_boots
220+
reference: item/flippers
221+
template: generated_overlay
222+
base_model:
223+
tints:
224+
- type: minecraft:dye
225+
default: -14455863
226+
```
227+
Or alternatively with JSON:
228+
```yaml
229+
model_data:
230+
- item: leather_boots
231+
reference: item/flippers
232+
template: generated_overlay
233+
base_model: {
234+
"tints": [
235+
{
236+
"type": "minecraft:dye",
237+
"default": -14455863
238+
}
239+
]
240+
}
241+
```
242+
199243
### `gui_fonts` Config
200244
Custom textured GUIs using fonts can easily be setup using the `meta.gm4.gui_fonts` entry of `beet.yaml` or the `gui_fonts` entry of `model_data.yaml`. These will create a translation that displays a given image texture inside a container, like a dropper or hopper. Empty images of the correct size are available in the `base` to use as a starting point for custom GUIs.
201245

gm4/contributors.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"links": ["https://twitter.com/15Redstones"]
55
},
66
{
7-
"name": "Andante",
8-
"links": ["https://bsky.app/profile/andante.dev"]
7+
"name": "dvitski",
8+
"links": ["https://bsky.app/profile/dvitski.cc"]
99
},
1010
{
1111
"name": "Bloo",
@@ -51,6 +51,10 @@
5151
"name": "JP12",
5252
"links": ["https://github.com/jpeterik12"]
5353
},
54+
{
55+
"name": "kindabland",
56+
"links": ["https://github.com/kindabland"]
57+
},
5458
{
5559
"name": "Kroppeb",
5660
"links": ["https://tech.lgbt/@Kroppeb"]

0 commit comments

Comments
 (0)