mirror of
https://github.com/PuzzleMC/Puzzle.git
synced 2025-12-15 11:25:11 +01:00
Fix crash with newer ETF versions
This commit is contained in:
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx4G
|
|||||||
loader_version=0.14.8
|
loader_version=0.14.8
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.4.0-1.19
|
mod_version = 1.4.2-1.19
|
||||||
maven_group = net.puzzlemc
|
maven_group = net.puzzlemc
|
||||||
archives_base_name = puzzle
|
archives_base_name = puzzle
|
||||||
|
|
||||||
@@ -32,4 +32,4 @@ org.gradle.jvmargs=-Xmx4G
|
|||||||
complete_config_version = 1.0.0
|
complete_config_version = 1.0.0
|
||||||
spruceui_version=4.0.0+1.19
|
spruceui_version=4.0.0+1.19
|
||||||
midnightlib_version=0.5.2
|
midnightlib_version=0.5.2
|
||||||
entitytexturefeatures_version=4.0.1.fabric
|
entitytexturefeatures_version=4.3.1.fabric.1.19.2
|
||||||
|
|||||||
@@ -265,9 +265,9 @@ public class PuzzleClient implements ClientModInitializer {
|
|||||||
etfConfig.enableEmissiveTextures = !etfConfig.enableEmissiveTextures;
|
etfConfig.enableEmissiveTextures = !etfConfig.enableEmissiveTextures;
|
||||||
ETFApi.saveETFConfigChangesAndResetETF();
|
ETFApi.saveETFConfigChangesAndResetETF();
|
||||||
}));
|
}));
|
||||||
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.full_bright_emissives.title"), (button) -> button.setMessage(
|
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.emissive_mode.title"), (button) -> button.setMessage(
|
||||||
etfConfig.fullBrightEmissives ? Text.translatable("entity_texture_features.puzzle.emissive_type.brighter") : Text.translatable("entity_texture_features.puzzle.emissive_type.default")), (button) -> {
|
Text.literal(etfConfig.emissiveRenderMode.toString())), (button) -> {
|
||||||
etfConfig.fullBrightEmissives = !etfConfig.fullBrightEmissives ;
|
etfConfig.emissiveRenderMode = etfConfig.emissiveRenderMode.next();
|
||||||
ETFApi.saveETFConfigChangesAndResetETF();
|
ETFApi.saveETFConfigChangesAndResetETF();
|
||||||
}));
|
}));
|
||||||
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.blinking_mob_settings.title"), (button) -> button.setMessage(etfConfig.enableBlinking ? YES : NO), (button) -> {
|
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.blinking_mob_settings.title"), (button) -> button.setMessage(etfConfig.enableBlinking ? YES : NO), (button) -> {
|
||||||
|
|||||||
@@ -33,7 +33,5 @@
|
|||||||
"config.dynamicfps.restore_when_hovered.tooltip": "Whether or not to stop the\nFPS limiting while Minecraft is previewed\n(i.e. hovered on task bar or dock)",
|
"config.dynamicfps.restore_when_hovered.tooltip": "Whether or not to stop the\nFPS limiting while Minecraft is previewed\n(i.e. hovered on task bar or dock)",
|
||||||
"config.dynamicfps.run_gc_on_unfocus.tooltip": "Run a garbage collector while\nMinecraft is not focused to\nfree up some RAM",
|
"config.dynamicfps.run_gc_on_unfocus.tooltip": "Run a garbage collector while\nMinecraft is not focused to\nfree up some RAM",
|
||||||
"config.dynamicfps.unfocused_volume.tooltip": "The volume the game should play\nsound at while unfocused\n(i.e. another window is selected)",
|
"config.dynamicfps.unfocused_volume.tooltip": "The volume the game should play\nsound at while unfocused\n(i.e. another window is selected)",
|
||||||
"config.dynamicfps.hidden_volume.tooltip": "The volume the game should play\nsound at while not visible\n(i.e. minimized, covered by other windows\nor on another virtual desktop)",
|
"config.dynamicfps.hidden_volume.tooltip": "The volume the game should play\nsound at while not visible\n(i.e. minimized, covered by other windows\nor on another virtual desktop)"
|
||||||
"entity_texture_features.puzzle.emissive_type.brighter": "§eBrighter",
|
|
||||||
"entity_texture_features.puzzle.emissive_type.default": "§6Default"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user