Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d9ea2c6
Remove overlays, only keep 1.21.11 support
misode Jan 26, 2026
00d0734
Discontinue better fire
misode Jan 26, 2026
89cfc50
Discontinue enchantment extractors
misode Jan 26, 2026
fe332b9
Discontinue enderman support class
misode Jan 26, 2026
57395df
Discontinue forming press
misode Jan 26, 2026
5283630
Discontinue heart canisters
misode Jan 26, 2026
71f3407
Discontinue mob curing
misode Jan 26, 2026
ab8a58a
Discontinue mountaineering
misode Jan 26, 2026
8ba3bb0
Discontinue poses pack
misode Jan 26, 2026
6ef6ee8
Discontinue potion swords
misode Jan 26, 2026
7b25889
Discontinue xp storage
misode Jan 26, 2026
8d56012
Discontinue relocators
misode Jan 26, 2026
6561a56
Remove custom crafters library
misode Jan 26, 2026
6f3ac60
Make guidebook use vanilla recipes instead of gm4_recipes format
misode Jan 27, 2026
3c87ac3
Update leash sound
runcows Jan 28, 2026
605d9e2
Merge branch 'master' of https://github.com/Gamemode4Dev/GM4_Datapack…
misode Jan 29, 2026
affc15a
Migrate custom model data to strings (disassemblers only)
misode Jan 29, 2026
878500a
Automatic custom model data conversions using script
misode Jan 29, 2026
ab0d329
Manual custom model data fixes
misode Jan 29, 2026
8844e5c
Remove beet.contrib.model_merging
misode Jan 30, 2026
eb1b384
Use the random command in some modules
misode Jan 31, 2026
8327de2
Remove flippers of ostara
misode Jan 31, 2026
732123f
Fix holographic tags upgrade path
misode Jan 31, 2026
769f110
Fix guidebook script
misode Jan 31, 2026
46db7cb
Fix spear and copper disassembler recipes
misode Feb 1, 2026
49d1526
Update docs
misode Feb 2, 2026
363a795
Update to 26.1-snapshot-6
misode Feb 6, 2026
22352dc
Add clock field to time_check predicates
misode Feb 7, 2026
5acda66
Change #dirt to #substrate_overworld
misode Feb 7, 2026
6f6f5e8
Replace custom_name with item name where possible
misode Feb 7, 2026
6f46a1a
Update merged dev RP pack format
misode Feb 7, 2026
1964e78
Remove InvokeOnJsonNbt and other mecha rules
misode Feb 7, 2026
602d492
Remove lib trades, refactor apple trees and balloon animals
misode Feb 8, 2026
cf9b288
Add mcdoc files for all storage
misode Feb 14, 2026
f74a5a9
Change block compressors and smelteries to not use technical loot tables
misode Feb 14, 2026
0be96aa
Fix Guidebook Infinite Loop (#1263)
BPR02 Feb 28, 2026
d2a9ec8
26.1 Tag List Updates (#1264)
runcows Feb 28, 2026
3def1ca
Replace team hack for selecting mobs with `type=!#gm4:non_living` (#1…
runcows Feb 28, 2026
d9a0aa7
Use custom module icons for output packs where we have them (#1271)
runcows Feb 28, 2026
d4d14e2
Standard Crafting Feature Update (#1260)
runcows Feb 28, 2026
a77c069
Improve Guidebook Item Resolver (#1276)
BPR02 Feb 28, 2026
2582977
Merge branch 'master' of https://github.com/Gamemode4Dev/GM4_Datapack…
misode Feb 28, 2026
b9e1e23
Add debug message to guidebook item resolver
misode Feb 28, 2026
5c2278d
Attempt to fix guidebook item resolver
misode Feb 28, 2026
db3c936
Sweethearts code cleanup (#1267)
runcows Feb 28, 2026
ac81066
Fix some readme typos (#1278)
runcows Mar 10, 2026
0ebdf07
26.1 time query day repetition (#1279)
runcows Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 8 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

env:
VERSION: '1.21.5'
VERSION: '26.1'
COMMIT_MSG: ${{ github.event.head_commit.message }}

jobs:
Expand Down Expand Up @@ -86,22 +86,11 @@ jobs:
# https://fabricmc.net/use/server/
# https://modrinth.com/mod/fabric-api/versions
# https://modrinth.com/mod/packtest/versions
- version: '1.21.5'
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.5/0.16.13/1.0.3/server/jar
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/FZ4q3wQK/fabric-api-0.119.9%2B1.21.5.jar
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/Swh7th09/packtest-2.1-mc1.21.5.jar
- version: '1.21.7'
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.7/0.16.14/1.0.3/server/jar
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/sLmbxWpX/fabric-api-0.128.1%2B1.21.7.jar
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/PAYctH3X/packtest-2.2-mc1.21.7.jar
- version: '1.21.10'
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.10/0.18.1/1.1.0/server/jar
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/dQ3p80zK/fabric-api-0.138.3%2B1.21.10.jar
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/11yGLsYO/packtest-2.3-beta1-mc1.21.10.jar
- version: '1.21.11'
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/1.21.11-rc2/0.18.1/1.1.0/server/jar
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/RDb9rvBm/fabric-api-0.139.4%2B1.21.11.jar
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/GN6fvTsW/packtest-2.4-beta2-mc1.21.11.jar
- version: '26.1'
fabric_server_url: https://meta.fabricmc.net/v2/versions/loader/26.1-snapshot-6/0.18.4/1.1.1/server/jar
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/WAZ95Yd8/fabric-api-0.143.2%2B26.1.jar
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/eupLiv70/packtest-2.5.0-beta1.jar
command_limit_tracer_url: https://cdn.modrinth.com/data/Ao12dSbt/versions/DxBN5h3K/commandlimittracer-0.2.0.jar
name: 'test-${{ matrix.version }}'
runs-on: ubuntu-24.04
steps:
Expand All @@ -119,14 +108,15 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
java-version: '25'

- name: Download server files
run: |
curl -o server.jar ${{ matrix.fabric_server_url }}
mkdir mods
curl -o mods/fabric-api.jar ${{ matrix.fabric_api_url }}
curl -o mods/packtest.jar ${{ matrix.packtest_url }}
curl -o mods/command_limit_tracer.jar ${{ matrix.command_limit_tracer_url }}

- name: Copy packs to world
run: |
Expand Down
30 changes: 0 additions & 30 deletions base/backport_72/assets/minecraft/atlases/blocks.json

This file was deleted.

1 change: 0 additions & 1 deletion base/beet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ data_pack:
resource_pack:
load:
assets: assets
backport_72: backport_72

require:
- gm4.plugins.resource_pack
Expand Down
7 changes: 0 additions & 7 deletions base/data/gm4/tags/block/air.json

This file was deleted.

2 changes: 1 addition & 1 deletion base/data/gm4/tags/block/full_collision.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"values": [
"#minecraft:dirt",
"#minecraft:substrate_overworld",
"#minecraft:leaves",
"#minecraft:logs",
"#minecraft:planks",
Expand Down
2 changes: 1 addition & 1 deletion base/data/gm4/tags/block/no_collision.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"minecraft:cave_vines_plant",
"minecraft:cherry_sapling",
"minecraft:cobweb",
{"id": "minecraft:copper_torch", "required": false},
"minecraft:copper_torch",
"minecraft:crimson_fungus",
"minecraft:crimson_roots",
"minecraft:dark_oak_sapling",
Expand Down
29 changes: 2 additions & 27 deletions base/data/gm4/tags/block/replaceable.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
{
"values": [
"#minecraft:air",
"#minecraft:fire",
"minecraft:bubble_column",
"minecraft:bush",
"minecraft:crimson_roots",
"minecraft:dead_bush",
"minecraft:fern",
"minecraft:glow_lichen",
"minecraft:short_dry_grass",
"minecraft:short_grass",
"minecraft:hanging_roots",
"minecraft:large_fern",
"minecraft:lava",
"minecraft:leaf_litter",
"minecraft:light",
"minecraft:nether_sprouts",
"minecraft:resin_clump",
"minecraft:sculk_vein",
"minecraft:seagrass",
"minecraft:snow",
"minecraft:structure_void",
"minecraft:tall_dry_grass",
"minecraft:tall_grass",
"minecraft:tall_seagrass",
"minecraft:vine",
"minecraft:warped_roots",
"minecraft:water"
"#minecraft:replaceable",
"minecraft:sculk_vein"
]
}
17 changes: 8 additions & 9 deletions base/data/gm4/tags/block/waterloggable.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
{
"values": [
"#minecraft:all_signs",
{"id": "#minecraft:bars", "required": false},
"#minecraft:bars",
"#minecraft:campfires",
"#minecraft:candles",
{"id": "#minecraft:chains", "required": false},
{"id": "#minecraft:copper_chests", "required": false},
{"id": "#minecraft:copper_golem_statues", "required": false},
"#minecraft:chains",
"#minecraft:copper_chests",
"#minecraft:copper_golem_statues",
"#minecraft:corals",
"#minecraft:fences",
{"id": "#minecraft:lanterns", "required": false},
"#minecraft:lanterns",
"#minecraft:leaves",
{"id": "#minecraft:lightning_rods", "required": false},
"#minecraft:lightning_rods",
"#minecraft:rails",
"#minecraft:slabs",
"#minecraft:stairs",
"#minecraft:trapdoors",
"#minecraft:wall_corals",
"#minecraft:wall_signs",
"#minecraft:walls",
{"id": "#minecraft:wooden_shelves", "required": false},
"#minecraft:wooden_shelves",
"minecraft:amethyst_cluster",
"minecraft:big_dripleaf",
"minecraft:big_dripleaf_stem",
"minecraft:black_stained_glass_pane",
"minecraft:blue_stained_glass_pane",
"minecraft:brown_stained_glass_pane",
"minecraft:calibrated_sculk_sensor",
{ "id": "minecraft:chain", "required": false },
"minecraft:chest",
"minecraft:conduit",
"minecraft:cyan_stained_glass_pane",
Expand All @@ -42,7 +41,7 @@
"minecraft:dead_tube_coral_fan",
"minecraft:dead_tube_coral",
"minecraft:decorated_pot",
{ "id": "minecraft:dried_ghast", "required": false },
"minecraft:dried_ghast",
"minecraft:ender_chest",
"minecraft:glass_pane",
"minecraft:glow_lichen",
Expand Down
5 changes: 0 additions & 5 deletions base/data/gm4/tags/entity_type/boats.json

This file was deleted.

2 changes: 1 addition & 1 deletion base/data/gm4/tags/entity_type/hostile.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"minecraft:hoglin",
"minecraft:husk",
"minecraft:magma_cube",
{"id": "minecraft:parched", "required": false},
"minecraft:parched",
"minecraft:phantom",
"minecraft:piglin_brute",
"minecraft:pillager",
Expand Down
4 changes: 2 additions & 2 deletions base/data/gm4/tags/entity_type/neutral_hostile.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"values": [
{"id": "minecraft:camel_husk", "required": false},
"minecraft:camel_husk",
"minecraft:cave_spider",
"minecraft:creaking",
"minecraft:drowned",
"minecraft:enderman",
"minecraft:piglin",
"minecraft:spider",
{"id": "minecraft:zombie_nautilus", "required": false},
"minecraft:zombie_nautilus",
"minecraft:zombified_piglin"
]
}
2 changes: 1 addition & 1 deletion base/data/gm4/tags/entity_type/non_living.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minecraft:area_effect_cloud",
"minecraft:arrow",
"minecraft:block_display",
"#gm4:boats",
"#minecraft:boat",
"minecraft:breeze_wind_charge",
"#gm4:chest_boats",
"minecraft:chest_minecart",
Expand Down
6 changes: 3 additions & 3 deletions base/data/gm4/tags/entity_type/passive.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"minecraft:cat",
"minecraft:chicken",
"minecraft:cod",
{"id": "minecraft:copper_golem", "required": false},
"minecraft:copper_golem",
"minecraft:cow",
"minecraft:donkey",
"minecraft:frog",
"minecraft:glow_squid",
{"id": "minecraft:happy_ghast", "required": false},
"minecraft:happy_ghast",
"minecraft:horse",
"minecraft:mooshroom",
"minecraft:mule",
{"id": "minecraft:nautilus", "required": false},
"minecraft:nautilus",
"minecraft:ocelot",
"minecraft:parrot",
"minecraft:pig",
Expand Down
6 changes: 0 additions & 6 deletions beet-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ pipeline:
- gm4.plugins.player_heads
- gm4.plugins.resource_pack
- gm4.plugins.backwards
- beet.contrib.model_merging
- beet.contrib.optifine
- beet.contrib.babelbox
- gm4_guidebook.generate_guidebooks.load_page_data
- gm4_guidebook.generate_guidebooks.load_custom_recipes
- gm4.plugins.test.load_tests
pipeline:
- gm4.plugins.write_mcmeta
Expand All @@ -30,16 +28,12 @@ pipeline:
namespace: gm4_translations
unicode_escape: True
dialect: excel
model_merging:
predicate_order: [custom_model_data]
- extend: beet.yaml
directory: resource_pack
pipeline:
- resource_pack.dev_description
- gm4.plugins.resource_pack.pad_item_def_range_dispatch
- gm4.plugins.resource_pack.link_resource_pack
- gm4.plugins.output.resource_pack
- gm4.plugins.resource_pack.dump_registry
- gm4.plugins.finished

meta:
Expand Down
5 changes: 0 additions & 5 deletions beet-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ pipeline:
- gm4.plugins.player_heads
- gm4.plugins.resource_pack
- gm4.plugins.backwards
- beet.contrib.model_merging
- beet.contrib.optifine
- beet.contrib.babelbox
- gm4_guidebook.generate_guidebooks.load_page_data
- gm4_guidebook.generate_guidebooks.load_custom_recipes
pipeline:
- gm4.plugins.manifest.write_credits
- gm4.plugins.test.strip_tests
Expand All @@ -63,8 +61,6 @@ pipeline:
namespace: gm4_translations
unicode_escape: True
dialect: excel
model_merging:
predicate_order: [custom_model_data]

- pipeline:
- gm4.plugins.worker.retrieve_and_run
Expand All @@ -82,7 +78,6 @@ pipeline:
- gm4.plugins.output.release_resource_pack
- gm4.plugins.write_mcmeta
- gm4.plugins.manifest.update_patch
- gm4.plugins.resource_pack.pad_item_def_range_dispatch
meta:
pack_scan: resource_pack

Expand Down
1 change: 0 additions & 1 deletion beet-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ pipeline:
- gm4.plugins.resource_pack
- gm4.plugins.backwards
- gm4_guidebook.generate_guidebooks.load_page_data
- gm4_guidebook.generate_guidebooks.load_custom_recipes
- gm4.plugins.test.load_tests
- gm4.plugins.test.skip_mecha_lint
pipeline:
Expand Down
6 changes: 1 addition & 5 deletions docs/code-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* [Function headers](#function-headers)
* [Inline comments](#inline-comments)
* [Smithed conventions](#smithed-conventions)
* [CMD prefixing](#cmd-prefixing)
* [Tag specification](#tag-specification)

## Naming
Expand Down Expand Up @@ -36,7 +35,7 @@ All functions should start with a header comment that consists of:
- a single function, if the function is run by `/function ...`: `# run from zauber_cauldrons:cauldron/create`.
- a folder, if multiple functions call this function using `/function`: `# run from functions in gm4_pig_tractors:till/blocks/`.
- a function from where it was scheduled: `# scheduled by zauber_cauldrons:cauldron/create`.
- a function and function-tag pair: `# run from gm4_custom_crafters-3.0:process_input/check_item via #gm4_custom_crafter:custom_item_checks`.
- a function and function-tag pair: `# run from gm4_trees:tick via #gm4_trees:destroy_leaf`.
- an advancement reward: `# run from advancement damaged/armor/stall`
- a combination of these, in which multiple lines may be used.

Expand All @@ -51,9 +50,6 @@ kill @s
## Smithed conventions
We follow the Smithed conventions in our data pack. For the full documentation, see the [Smithed Wiki](https://wiki.smithed.dev/conventions/).

### CMD prefixing
All the custom model data values in GM4 are prefixed with `3420000`. As a module developer you don't need to worry about this, it is handled by our resource pack plugin. <!-- TODO: link to resource pack docs -->

### Tag specification
Smithed defines a set of standard entity `/tag`s to ensure compatibility between different packs:
* Custom entities need to get the `smithed.entity` tag
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To contribute to our project you need to install [Git](https://git-scm.com/downl

Our modules are built using [beet](https://github.com/mcbeet/beet), which is a Python framework that allows us to automatically validate and generate part of our data packs and resource packs.

You will need to install [uv](https://docs.astral.sh/uv/) as project manager. If you don't already have Python installed, uv will do that automatically. We currently use Python 3.10.
You will need to install [uv](https://docs.astral.sh/uv/) as project manager. If you don't already have Python installed, uv will do that automatically. We currently use Python 3.14.
```sh
# MacOS, Linux, or Git Bash (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
Expand Down
4 changes: 1 addition & 3 deletions docs/making-a-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ pipeline:

# Include any libraries
- gm4.plugins.include.lib_machines
- gm4.plugins.include.lib_custom_crafters

# Metadata for the build and publishing on the website
meta:
gm4:
versioning:
# A list of minimum-required versions for libraries or other modules
required:
- lib_custom_crafters: 3.0.0
- lib_machines: 1.1.0
- gm4_bat_grenades: 1.2.0

Expand All @@ -74,7 +72,7 @@ meta:
# Any recommended modules
recommended:
- gm4_resource_pack
- gm4_relocators
- gm4_bat_grenades
# Important notes for people when they download the module. This can be empty
notes: []
# Keywords used by gm4.co's search feature, may be omitted
Expand Down
Loading
Loading