-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from skyraah/main
2024/8/1 ALPHA-0.1
- Loading branch information
Showing
38 changed files
with
944 additions
and
593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import json | ||
import os | ||
|
||
# 定义JSON文件的路径 | ||
config_file_path = os.path.join(os.environ['GITHUB_WORKSPACE'], 'kubejs', 'config', 'probe-settings.json') | ||
|
||
# 读取JSON文件 | ||
with open(config_file_path, 'r') as file: | ||
config_data = json.load(file) | ||
|
||
# 修改probejs.enabled为false | ||
config_data['probejs.enabled'] = False | ||
|
||
# 写回修改后的JSON文件 | ||
with open(config_file_path, 'w') as file: | ||
json.dump(config_data, file, indent=4) | ||
|
||
print(f"Updated {config_file_path}: probejs.enabled is now set to false.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"trees": { | ||
"allowedLogs": [], | ||
"deniedLogs": [], | ||
"allowedLeaves": [], | ||
"allowedNonDecayLeaves": [], | ||
"deniedLeaves": [], | ||
"breakMode": "INSTANTANEOUS", | ||
"detectionMode": "WHOLE_TREE", | ||
"maxScanSize": 500, | ||
"maxSize": 100, | ||
"maxLeafDistanceFromLog": 15, | ||
"maxSizeAction": "ABORT", | ||
"breakOrder": "FURTHEST_FIRST", | ||
"minimumLeavesAroundRequired": 1, | ||
"includePersistentLeavesInRequiredCount": true, | ||
"treeBreaking": true, | ||
"leavesBreaking": true, | ||
"leavesBreakingForceRadius": 0, | ||
"allowMixedLogs": false, | ||
"breakNetherTreeWarts": true, | ||
"breakMangroveRoots": true, | ||
"searchAreaRadius": -1, | ||
"allowedAdjacentBlocks": [], | ||
"adjacentStopMode": "STOP_ALL" | ||
}, | ||
"tools": { | ||
"allowed": [], | ||
"denied": [], | ||
"preserve": false, | ||
"ignoreTools": false, | ||
"damageMultiplicand": 1.0, | ||
"damageRounding": "ROUND_DOWN", | ||
"speedMultiplicand": 0.0, | ||
"forceToolUsage": false | ||
}, | ||
"player": { | ||
"allowedTags": [] | ||
}, | ||
"enchantment": { | ||
"registerEnchant": false, | ||
"registerSpecificEnchant": false, | ||
"hideEnchant": false, | ||
"requireEnchantment": false | ||
}, | ||
"sneakMode": "SNEAK_DISABLE", | ||
"breakInCreative": false, | ||
"lootInCreative": true, | ||
"notificationMode": "ACTION_BAR" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
[General] | ||
#Allow going UP faster. If [false], then player can only climb up the ladder at normal speed. | ||
allowQuickAscension = true | ||
#Allow going DOWN faster. If [false], then player can only climb down the ladder at normal speed. | ||
allowQuickDescension = true | ||
#Speed modifier. 0 is Vanilla speed, 10 is lightning speed. | ||
#Range: 0 ~ 10 | ||
speedModifier = 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
#Client settings | ||
[Renderer] | ||
#Set the label renderer distance, -1 stands for unlimited distance. | ||
#Range: -1 ~ 1024 | ||
distance = -1 | ||
|
||
#Waila settings | ||
[Display] | ||
#Set the fluid show amounts limit with controller and slave. | ||
#Range: 3 ~ 24 | ||
showlimit = 9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
#Debug settings | ||
[debugMode] | ||
#Set false to stop output log. | ||
debugMode = false | ||
|
||
#General settings | ||
[general] | ||
#Set it to change volume. | ||
#Range: 4000 ~ 96000 | ||
volume = 32000 | ||
#Whether the drawer retains fluid when destroyed. | ||
retainFluid = true | ||
|
||
#Compat settings | ||
[compat] | ||
#Allow players to use potion bottles to deposit potions directly in survival mode. | ||
createPotionInteraction = true | ||
#Allow players to use caupona soup bowl to deposit soup directly in survival mode. | ||
cauponaSoupBowlInteraction = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.