diff --git a/docs/presets/custom/DIFFICULTY_BASED_ONLY_NIGHT.v3.json b/docs/presets/custom/DIFFICULTY_BASED_ONLY_NIGHT.v3.json new file mode 100644 index 0000000..7cce04e --- /dev/null +++ b/docs/presets/custom/DIFFICULTY_BASED_ONLY_NIGHT.v3.json @@ -0,0 +1,136 @@ +{ + "code": "DIFFICULTY_BASED_ONLY_NIGHT", + "bindings": [ + { + "condition": { + "and": [ + { + "timeIn": { + "start": 13000, + "end": 1000 + } + }, + { + "difficultyIn": [ + "EASY", + "PEACEFUL" + ] + }, + { + "biomeIdIn": [ + "minecraft:pale_garden" + ] + }, + { + "skyLightLevel": { + "min": 4 + } + }, + { + "surfaceHeight": { + "max": 15.0 + } + } + ] + }, + "startDistance": 2.0, + "endDistance": 15.0, + "opacity": 95.0, + "encapsulationSpeed": 6.0, + "brightness": { + "mode": "BY_GAME_FOG" + }, + "color": { + "mode": "BY_GAME_FOG" + }, + "shape": "SPHERE" + }, + { + "condition": { + "and": [ + { + "timeIn": { + "start": 13000, + "end": 1000 + } + }, + { + "difficultyIn": [ + "NORMAL" + ] + }, + { + "biomeIdIn": [ + "minecraft:pale_garden" + ] + }, + { + "skyLightLevel": { + "min": 4 + } + }, + { + "surfaceHeight": { + "max": 15.0 + } + } + ] + }, + "startDistance": 2.0, + "endDistance": 15.0, + "opacity": 100.0, + "encapsulationSpeed": 6.0, + "brightness": { + "mode": "BY_GAME_FOG" + }, + "color": { + "mode": "BY_GAME_FOG" + }, + "shape": "SPHERE" + }, + { + "condition": { + "and": [ + { + "timeIn": { + "start": 13000, + "end": 1000 + } + }, + { + "difficultyIn": [ + "HARD" + ] + }, + { + "biomeIdIn": [ + "minecraft:pale_garden" + ] + }, + { + "skyLightLevel": { + "min": 4 + } + }, + { + "surfaceHeight": { + "max": 15.0 + } + } + ] + }, + "startDistance": 0.0, + "endDistance": 10.0, + "opacity": 100.0, + "encapsulationSpeed": 6.0, + "brightness": { + "mode": "BY_GAME_FOG" + }, + "color": { + "mode": "BY_GAME_FOG" + }, + "shape": "SPHERE" + } + ], + "version": 3 +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index a851566..c142e05 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,5 +33,5 @@ fabricLoaderMinVersion=0.16.4 fabricApiVersion=0.105.2+1.21.2 clothConfigVersion=16.0.141 fabricModMenuVersion=12.0.0-beta.1 -fabricModrinthGameVersions=24w40a,1.21.2-pre1,1.21.2-pre2,1.21.2-pre3,1.21.2,1.21.3,24w44a,24w45a -fabricCurseForgeGameVersions=1.21.2-Snapshot,1.21.2,1.21.3,1.21.4-Snapshot +fabricModrinthGameVersions=24w40a,1.21.2-pre1,1.21.2-pre2,1.21.2-pre3,1.21.2-pre4,1.21.2-pre5,1.21.2-rc1,1.21.2-rc2,1.21.2,1.21.3,24w44a,24w45a,24w46a,1.21.4-pre1,1.21.4-pre2,1.21.4-pre3,1.21.4-rc1,1.21.4-rc2,1.21.4-rc3,1.21.4 +fabricCurseForgeGameVersions=1.21.2-Snapshot,1.21.2,1.21.3,1.21.4-Snapshot,1.21.4