1 Commits
v1.5.0 ... 1.19

Author SHA1 Message Date
Motschen
30b647938e Fix crash with newer ETF versions 2023-01-05 18:26:01 +01:00
3 changed files with 6 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx4G
loader_version=0.14.8
# Mod Properties
mod_version = 1.4.0-1.19
mod_version = 1.4.2-1.19
maven_group = net.puzzlemc
archives_base_name = puzzle
@@ -32,4 +32,4 @@ org.gradle.jvmargs=-Xmx4G
complete_config_version = 1.0.0
spruceui_version=4.0.0+1.19
midnightlib_version=0.5.2
entitytexturefeatures_version=4.0.1.fabric
entitytexturefeatures_version=4.3.1.fabric.1.19.2

View File

@@ -265,9 +265,9 @@ public class PuzzleClient implements ClientModInitializer {
etfConfig.enableEmissiveTextures = !etfConfig.enableEmissiveTextures;
ETFApi.saveETFConfigChangesAndResetETF();
}));
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.full_bright_emissives.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) -> {
etfConfig.fullBrightEmissives = !etfConfig.fullBrightEmissives ;
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.emissive_mode.title"), (button) -> button.setMessage(
Text.literal(etfConfig.emissiveRenderMode.toString())), (button) -> {
etfConfig.emissiveRenderMode = etfConfig.emissiveRenderMode.next();
ETFApi.saveETFConfigChangesAndResetETF();
}));
PuzzleApi.addToResourceOptions(new PuzzleWidget(Text.translatable("config.entity_texture_features.blinking_mob_settings.title"), (button) -> button.setMessage(etfConfig.enableBlinking ? YES : NO), (button) -> {

View File

@@ -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.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.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"
"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)"
}