Skip to content

Commit

Permalink
Add DIFFICULTY_BASED_ONLY_NIGHT custom preset
Browse files Browse the repository at this point in the history
  • Loading branch information
NaoCraftLab committed Dec 4, 2024
1 parent 8551139 commit b7fa108
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 2 deletions.
136 changes: 136 additions & 0 deletions docs/presets/custom/DIFFICULTY_BASED_ONLY_NIGHT.v3.json
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b7fa108

Please sign in to comment.