feat: update allay-api and mapping files

This commit is contained in:
daoge_cmd
2025-08-21 00:11:36 +08:00
parent 1ef12fdec0
commit 757ed6ad4d
3 changed files with 7 additions and 7 deletions

View File

@@ -2,8 +2,8 @@
## Resource files
Current mapping version: je 1.21.4 to be 1.21.50
Current mapping version: je 1.21.7 to be 1.21.93
- `mapping/biomes.json` and `mapping/items.json` obtain from [GeyserMC/mappings](https://github.com/GeyserMC/mappings).
- `mapping/blocks.json` generated by using [GeyserMC/mappings-generator](https://github.com/GeyserMC/mappings-generator), and it's origin name is `generator_blocks.json`.
- `mapping/blocks.json` generated by using [GeyserMC/mappings-generator](https://github.com/GeyserMC/mappings-generator), and it's origin name is `new_generator_blocks.json`.
- `je_block_default_states.json` converted from [Block state values](https://zh.minecraft.wiki/w/Module:Block_state_values).

View File

@@ -24,7 +24,7 @@ dependencies {
geyserMappings("GeyserMC.mappings", "items", Versions.Allay.mappings, ext = "json")
geyserMappings("GeyserMC.mappings", "biomes", Versions.Allay.mappings, ext = "json")
geyserMappings("GeyserMC.mappings-generator", "generator_blocks", Versions.Allay.mappingsGenerator, ext = "json")
geyserMappings("GeyserMC.mappings-generator", "new_generator_blocks", Versions.Allay.mappingsGenerator, ext = "json")
}
tasks.processResources {
@@ -32,6 +32,6 @@ tasks.processResources {
into("mapping")
// rather jank, but whatever
rename("(?:generator_)?([^-]+)-(.*)\\.json", "$1.json")
rename("(?:new_generator_)?([^-]+)-(.*)\\.json", "$1.json")
}
}