Skip to content

Commit

Permalink
Add resource-patch to make 1.20.3 resources more backwardscompatible …
Browse files Browse the repository at this point in the history
…with 1.20.2
  • Loading branch information
TBlueF committed Dec 6, 2023
1 parent 6307fb1 commit 78904b4
Show file tree
Hide file tree
Showing 116 changed files with 1,512 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BlueMapCore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ tasks.processResources {

//resource Extensions
val resourceIds: Array<String> = arrayOf(
"1_13", "1_15", "1_16", "1_18"
"1_13", "1_15", "1_16", "1_18", "1_20_3"
)

tasks.register("zipResourceExtensions") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public enum MinecraftResource {
MC_1_19 (new MinecraftVersion(1, 19), "mc1_18", "https://piston-data.mojang.com/v1/objects/a45634ab061beb8c878ccbe4a59c3315f9c0266f/client.jar"),
MC_1_19_4 (new MinecraftVersion(1, 19, 4), "mc1_18", "https://piston-data.mojang.com/v1/objects/958928a560c9167687bea0cefeb7375da1e552a8/client.jar"),
MC_1_20 (new MinecraftVersion(1, 20), "mc1_18", "https://piston-data.mojang.com/v1/objects/e575a48efda46cf88111ba05b624ef90c520eef1/client.jar"),
MC_1_20_3 (new MinecraftVersion(1, 20, 3), "mc1_18", "https://piston-data.mojang.com/v1/objects/b178a327a96f2cf1c9f98a45e5588d654a3e4369/client.jar");
MC_1_20_3 (new MinecraftVersion(1, 20, 3), "mc1_20_3", "https://piston-data.mojang.com/v1/objects/b178a327a96f2cf1c9f98a45e5588d654a3e4369/client.jar");

private final MinecraftVersion version;
private final String resourcePrefix;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "bluemap:block/missing" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "bluemap:block/missing"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,324 @@
{
"minecraft:the_void": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:plains": {
"humidity": 0.4,
"temperature": 0.8,
"watercolor": 4159204
},
"minecraft:sunflower_plains": {
"humidity": 0.4,
"temperature": 0.8,
"watercolor": 4159204
},
"minecraft:snowy_plains": {
"humidity": 0.5,
"temperature": 0.0,
"watercolor": 4159204
},
"minecraft:ice_spikes": {
"humidity": 0.5,
"temperature": 0.0,
"watercolor": 4159204
},
"minecraft:desert": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204
},
"minecraft:swamp": {
"humidity": 0.9,
"temperature": 0.8,
"watercolor": 6388580,
"grasscolor": "#6A7039",
"foliagecolor": 6975545
},
"minecraft:mangrove_swamp": {
"humidity": 0.9,
"temperature": 0.8,
"watercolor": "#3A7A6A",
"grasscolor": "#6A7039",
"foliagecolor": "#8DB127"
},
"minecraft:forest": {
"humidity": 0.8,
"temperature": 0.7,
"watercolor": 4159204
},
"minecraft:flower_forest": {
"humidity": 0.8,
"temperature": 0.7,
"watercolor": 4159204
},
"minecraft:birch_forest": {
"humidity": 0.6,
"temperature": 0.6,
"watercolor": 4159204
},
"minecraft:dark_forest": {
"humidity": 0.8,
"temperature": 0.7,
"watercolor": 4159204,
"foliagecolor": "#28340a55",
"grasscolor": "#28340a88"
},
"minecraft:old_growth_birch_forest": {
"humidity": 0.6,
"temperature": 0.6,
"watercolor": 4159204
},
"minecraft:old_growth_pine_taiga": {
"humidity": 0.8,
"temperature": 0.3,
"watercolor": 4159204
},
"minecraft:old_growth_spruce_taiga": {
"humidity": 0.8,
"temperature": 0.25,
"watercolor": 4159204
},
"minecraft:taiga": {
"humidity": 0.8,
"temperature": 0.25,
"watercolor": 4159204
},
"minecraft:snowy_taiga": {
"humidity": 0.4,
"temperature": -0.5,
"watercolor": 4020182
},
"minecraft:savanna": {
"humidity": 0.0,
"temperature": 1.2,
"watercolor": 4159204
},
"minecraft:savanna_plateau": {
"humidity": 0.0,
"temperature": 1.0,
"watercolor": 4159204
},
"minecraft:windswept_hills": {
"humidity": 0.3,
"temperature": 0.2,
"watercolor": 4159204
},
"minecraft:windswept_gravelly_hills": {
"humidity": 0.3,
"temperature": 0.2,
"watercolor": 4159204
},
"minecraft:windswept_forest": {
"humidity": 0.3,
"temperature": 0.2,
"watercolor": 4159204
},
"minecraft:windswept_savanna": {
"humidity": 0.0,
"temperature": 1.1,
"watercolor": 4159204
},
"minecraft:jungle": {
"humidity": 0.9,
"temperature": 0.95,
"watercolor": 4159204
},
"minecraft:sparse_jungle": {
"humidity": 0.8,
"temperature": 0.95,
"watercolor": 4159204
},
"minecraft:bamboo_jungle": {
"humidity": 0.9,
"temperature": 0.95,
"watercolor": 4159204
},
"minecraft:badlands": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204,
"foliagecolor": 10387789,
"grasscolor": 9470285
},
"minecraft:eroded_badlands": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204,
"foliagecolor": 10387789,
"grasscolor": 9470285
},
"minecraft:wooded_badlands": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204,
"foliagecolor": 10387789,
"grasscolor": 9470285
},
"minecraft:meadow": {
"humidity": 0.8,
"temperature": 0.5,
"watercolor": 937679
},
"minecraft:grove": {
"humidity": 0.8,
"temperature": -0.2,
"watercolor": 4159204
},
"minecraft:snowy_slopes": {
"humidity": 0.9,
"temperature": -0.3,
"watercolor": 4159204
},
"minecraft:frozen_peaks": {
"humidity": 0.9,
"temperature": -0.7,
"watercolor": 4159204
},
"minecraft:jagged_peaks": {
"humidity": 0.9,
"temperature": -0.7,
"watercolor": 4159204
},
"minecraft:stony_peaks": {
"humidity": 0.3,
"temperature": 1.0,
"watercolor": 4159204
},
"minecraft:river": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:frozen_river": {
"humidity": 0.5,
"temperature": 0.0,
"watercolor": 3750089
},
"minecraft:beach": {
"humidity": 0.4,
"temperature": 0.8,
"watercolor": 4159204
},
"minecraft:snowy_beach": {
"humidity": 0.3,
"temperature": 0.05,
"watercolor": 4020182
},
"minecraft:stony_shore": {
"humidity": 0.3,
"temperature": 0.2,
"watercolor": 4159204
},
"minecraft:warm_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4445678
},
"minecraft:lukewarm_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4566514
},
"minecraft:deep_lukewarm_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4566514
},
"minecraft:ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:deep_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:cold_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4020182
},
"minecraft:deep_cold_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4020182
},
"minecraft:frozen_ocean": {
"humidity": 0.5,
"temperature": 0.0,
"watercolor": 3750089
},
"minecraft:deep_frozen_ocean": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 3750089
},
"minecraft:mushroom_fields": {
"humidity": 1.0,
"temperature": 0.9,
"watercolor": 4159204
},
"minecraft:dripstone_caves": {
"humidity": 0.4,
"temperature": 0.8,
"watercolor": 4159204
},
"minecraft:lush_caves": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:nether_wastes": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204
},
"minecraft:warped_forest": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204
},
"minecraft:crimson_forest": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204
},
"minecraft:soul_sand_valley": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204
},
"minecraft:basalt_deltas": {
"humidity": 0.0,
"temperature": 2.0,
"watercolor": 4159204
},
"minecraft:the_end": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:end_highlands": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:end_midlands": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:small_end_islands": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
},
"minecraft:end_barrens": {
"humidity": 0.5,
"temperature": 0.5,
"watercolor": 4159204
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"default": "@foliage",
"minecraft:water": "@water",
"minecraft:cauldron": "@water",
"minecraft:water_cauldron": "@water",
"minecraft:powder_snow_cauldron": "#ffffff",
"minecraft:lava_cauldron": "#ffffff",
"minecraft:grass_block": "@grass",
"minecraft:grass": "@grass",
"minecraft:short_grass": "@grass",
"minecraft:tall_grass": "@grass",
"minecraft:fern": "@grass",
"minecraft:large_fern": "@grass",
"minecraft:redstone_wire": "@redstone",
"minecraft:birch_leaves": 8431445,
"minecraft:spruce_leaves": 6396257,
"minecraft:stonecutter": "#ffffff",
"minecraft:snow": "#ffffff",
"minecraft:cherry_leaves": "#ffffff"
}
Loading

0 comments on commit 78904b4

Please sign in to comment.