9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 18:09:27 +00:00

rename update

This commit is contained in:
XiaoMoMi
2025-06-22 03:48:52 +08:00
parent 1fd19e4a48
commit 46c8a1ec07
2 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ resource-pack:
- CustomNameplates/resourcepack.zip
exclude-file-extensions: ["md", "psd", "bbmodel", "db", "ini"]
# Exclude the shaders when generating the resource pack
exclude-shaders: false
exclude-core-shaders: false
delivery:
# Send the resource pack on joining the server
send-on-join: true

View File

@@ -60,7 +60,7 @@ public class Config {
protected boolean resource_pack$protection$crash_tools$method_3;
protected boolean resource_pack$validate$enable;
protected boolean resource_pack$exclude_shaders;
protected boolean resource_pack$exclude_core_shaders;
protected boolean resource_pack$protection$obfuscation$enable;
protected long resource_pack$protection$obfuscation$seed;
@@ -263,7 +263,7 @@ public class Config {
resource_pack$protection$obfuscation$resource_location$bypass_sounds = config.getStringList("resource-pack.protection.obfuscation.resource-location.bypass-sounds");
resource_pack$protection$obfuscation$resource_location$bypass_equipments = config.getStringList("resource-pack.protection.obfuscation.resource-location.bypass-equipments");
resource_pack$validate$enable = config.getBoolean("resource-pack.validate.enable", true);
resource_pack$exclude_shaders = config.getBoolean("resource-pack.exclude-shaders", false);
resource_pack$exclude_core_shaders = config.getBoolean("resource-pack.exclude-core-shaders", false);
try {
resource_pack$duplicated_files_handler = config.getMapList("resource-pack.duplicated-files-handler").stream().map(it -> {
@@ -739,7 +739,7 @@ public class Config {
}
public static boolean excludeShaders() {
return instance.resource_pack$exclude_shaders;
return instance.resource_pack$exclude_core_shaders;
}
public YamlDocument loadOrCreateYamlData(String fileName) {