From 35acfd1e1998f425097874b9365cba3a07cc96b6 Mon Sep 17 00:00:00 2001 From: Sakura Ryoko Date: Thu, 14 Nov 2024 01:21:18 -0500 Subject: [PATCH] add EnderChest previews --- gradle.properties | 6 +++--- src/main/java/fi/dy/masa/tweakeroo/config/Configs.java | 1 + src/main/resources/assets/tweakeroo/lang/en_us.json | 2 ++ src/main/resources/fabric.mod.json | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index f4d1ab6a6..872b3709c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,11 +9,11 @@ author = masa mod_file_name = tweakeroo-fabric # Current mod version -mod_version = 0.21.52 +mod_version = 0.21.53-sakura.1 # Required malilib version -malilib_version = 0.21.1 -malilib_id = 7d6bd0b3bc +malilib_version = 0.21.2-sakura.1 +malilib_id = dead5697c6 # Minecraft, Fabric Loader and API and mappings versions minecraft_version_out = 1.21 diff --git a/src/main/java/fi/dy/masa/tweakeroo/config/Configs.java b/src/main/java/fi/dy/masa/tweakeroo/config/Configs.java index ea55e3a8c..ef42df2ea 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/config/Configs.java +++ b/src/main/java/fi/dy/masa/tweakeroo/config/Configs.java @@ -105,6 +105,7 @@ public static class Generic public static final ConfigInteger SCULK_SENSOR_PULSE_LENGTH = new ConfigInteger ("sculkSensorPulseLength", 40, 0, 10000, "tweakeroo.config.generic.comment.sculkSensorPulseLength").translatedName("tweakeroo.config.generic.name.sculkSensorPulseLength"); public static final ConfigInteger SERVER_NBT_REQUEST_RATE = new ConfigInteger ("serverNbtRequestRate", 2, "tweakeroo.config.generic.comment.serverNbtRequestRate").translatedName("tweakeroo.config.generic.name.serverNbtRequestRate"); public static final ConfigBoolean SHULKER_DISPLAY_BACKGROUND_COLOR = new ConfigBoolean ("shulkerDisplayBgColor", true, "tweakeroo.config.generic.comment.shulkerDisplayBgColor").translatedName("tweakeroo.config.generic.name.shulkerDisplayBgColor"); + public static final ConfigBoolean SHULKER_DISPLAY_ENDER_CHEST = new ConfigBoolean ("shulkerDisplayEnderChest", false, "tweakeroo.config.generic.comment.shulkerDisplayEnderChest").translatedName("tweakeroo.config.generic.name.shulkerDisplayEnderChest"); public static final ConfigBoolean SHULKER_DISPLAY_REQUIRE_SHIFT = new ConfigBoolean ("shulkerDisplayRequireShift", true, "tweakeroo.config.generic.comment.shulkerDisplayRequireShift").translatedName("tweakeroo.config.generic.name.shulkerDisplayRequireShift"); public static final ConfigBoolean SLOT_SYNC_WORKAROUND = new ConfigBoolean ("slotSyncWorkaround", true, "tweakeroo.config.generic.comment.slotSyncWorkaround").translatedName("tweakeroo.config.generic.name.slotSyncWorkaround"); public static final ConfigBoolean SLOT_SYNC_WORKAROUND_ALWAYS = new ConfigBoolean ("slotSyncWorkaroundAlways", false, "tweakeroo.config.generic.comment.slotSyncWorkaroundAlways").translatedName("tweakeroo.config.generic.name.slotSyncWorkaroundAlways"); diff --git a/src/main/resources/assets/tweakeroo/lang/en_us.json b/src/main/resources/assets/tweakeroo/lang/en_us.json index 36446f553..a9332c450 100644 --- a/src/main/resources/assets/tweakeroo/lang/en_us.json +++ b/src/main/resources/assets/tweakeroo/lang/en_us.json @@ -64,6 +64,7 @@ "tweakeroo.config.generic.name.renderLimitXPOrb": "renderLimitXPOrb", "tweakeroo.config.generic.name.sculkSensorPulseLength": "sculkSensorPulseLength", "tweakeroo.config.generic.name.shulkerDisplayBgColor": "shulkerDisplayBgColor", + "tweakeroo.config.generic.name.shulkerDisplayEnderChest": "shulkerDisplayEnderChest", "tweakeroo.config.generic.name.shulkerDisplayRequireShift": "shulkerDisplayRequireShift", "tweakeroo.config.generic.name.slotSyncWorkaround": "slotSyncWorkaround", "tweakeroo.config.generic.name.slotSyncWorkaroundAlways": "slotSyncWorkaroundAlways", @@ -150,6 +151,7 @@ "tweakeroo.config.generic.comment.renderLimitXPOrb": "Maximum number of XP orb entities rendered per frame.\nUse -1 for normal behaviour, ie. to disable this limit.", "tweakeroo.config.generic.comment.sculkSensorPulseLength": "The pulse length for Sculk Sensors, if the 'tweakSculkPulseLength' tweak is enabled.", "tweakeroo.config.generic.comment.shulkerDisplayBgColor": "Enables tinting/coloring the Shulker Box display\nbackground texture with the dye color of the box", + "tweakeroo.config.generic.comment.shulkerDisplayEnderChest": "Enables Ender Chest display similar to the Shulker Box Display.", "tweakeroo.config.generic.comment.shulkerDisplayRequireShift": "Whether or not holding shift is required for the Shulker Box preview", "tweakeroo.config.generic.comment.slotSyncWorkaround": "This prevents the server from overriding the durability or\nstack size on items that are being used quickly for example\nwith the fast right click tweak.", "tweakeroo.config.generic.comment.slotSyncWorkaroundAlways": "Enables the slot sync workaround at all times when the use key\nis held, not only when using fast right click or fast block placement.\nThis is mainly for other mods that may quickly use items when\nholding down use, such as Litematica's Easy Place mode.", diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 2e642e79d..1960d6811 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,6 +34,6 @@ "depends": { "minecraft": ">=1.21 <=1.21.1", - "malilib": ">=0.21.1" + "malilib": ">=0.21.2-sakura.1" } }