diff options
-rw-r--r-- | src/main/kotlin/features/items/EtherwarpOverlay.kt | 3 | ||||
-rw-r--r-- | src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomBlockTextures.kt | 3 | ||||
-rw-r--r-- | translations/en_us.json | 12 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/main/kotlin/features/items/EtherwarpOverlay.kt b/src/main/kotlin/features/items/EtherwarpOverlay.kt index b1f695a..f6ab1a2 100644 --- a/src/main/kotlin/features/items/EtherwarpOverlay.kt +++ b/src/main/kotlin/features/items/EtherwarpOverlay.kt @@ -19,6 +19,7 @@ object EtherwarpOverlay : FirmamentFeature { object TConfig : ManagedConfig(identifier, Category.ITEMS) { var etherwarpOverlay by toggle("etherwarp-overlay") { false } + var onlyShowWhileSneaking by toggle("only-show-while-sneaking") { true } var cube by toggle("cube") { true } val cubeColour by colour("cube-colour") { ChromaColour.fromStaticRGB(172, 0, 255, 60) } var wireframe by toggle("wireframe") { false } @@ -32,7 +33,7 @@ object EtherwarpOverlay : FirmamentFeature { fun renderEtherwarpOverlay(event: WorldRenderLastEvent) { if (!TConfig.etherwarpOverlay) return val player = MC.player ?: return - if (!player.isSneaking) return + if (TConfig.onlyShowWhileSneaking && !player.isSneaking) return val world = player.world val camera = MC.camera ?: return val heldItem = MC.stackInHand diff --git a/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomBlockTextures.kt b/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomBlockTextures.kt index 6506f13..2d7a978 100644 --- a/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomBlockTextures.kt +++ b/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomBlockTextures.kt @@ -247,9 +247,6 @@ object CustomBlockTextures { @JvmStatic fun getReplacementModel(block: BlockState, blockPos: BlockPos?): BlockStateModel? { - if (block.block == Blocks.SMOOTH_SANDSTONE_STAIRS) { - println("WEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEWOOOOOOOOOOOOOOOOOOOOOOOOOO") - } return getReplacement(block, blockPos)?.replace(block) } diff --git a/translations/en_us.json b/translations/en_us.json index bed6d6e..95b43f1 100644 --- a/translations/en_us.json +++ b/translations/en_us.json @@ -135,6 +135,8 @@ "firmament.config.etherwarp-overlay.cube.description": "Displays a full cube on the block", "firmament.config.etherwarp-overlay.etherwarp-overlay": "Etherwarp Overlay", "firmament.config.etherwarp-overlay.etherwarp-overlay.description": "Display an overlay that tells you what block you will warp to.", + "firmament.config.etherwarp-overlay.only-show-while-sneaking": "Only show while sneaking", + "firmament.config.etherwarp-overlay.only-show-while-sneaking.description": "Displays the Etherwarp overlay only while sneaking.", "firmament.config.etherwarp-overlay.wireframe": "Outline", "firmament.config.etherwarp-overlay.wireframe.description": "Displays a full outline on the block", "firmament.config.fairy-souls": "Fairy Souls", @@ -159,7 +161,7 @@ "firmament.config.fixes.hide-mob-effects": "Hide Potion Effects", "firmament.config.fixes.hide-mob-effects.description": "Hide Potion effects on the right side of your player inventory.", "firmament.config.fixes.hide-potion-effects-hud": "Hide Potion Effects HUD", - "firmament.config.fixes.hide-potion-effects-hud.description": "Hides the potion effects HUd in the top right.", + "firmament.config.fixes.hide-potion-effects-hud.description": "Hides the potion effects HUD in the top right.", "firmament.config.fixes.hide-recipe-book": "No Recipe Book", "firmament.config.fixes.hide-recipe-book.description": "Remove the recipe book from your inventory", "firmament.config.fixes.hide-slot-highlights": "Hide Slot Highlights", @@ -168,19 +170,19 @@ "firmament.config.fixes.peek-chat.description": "Hold this keybinding to view the chat as if you have it opened, but while still being able to control your character.", "firmament.config.fixes.player-skins": "Fix unsigned Player Skins", "firmament.config.fixes.player-skins.description": "Mark all player skins as signed, preventing console spam, and some rendering issues.", - "firmament.config.hud": "Hud", + "firmament.config.hud": "HUD", "firmament.config.hud.day-count": "Day Count", - "firmament.config.hud.day-count-hud": "Day Count Hud", + "firmament.config.hud.day-count-hud": "Day Count HUD", "firmament.config.hud.day-count-hud.description": "Shows day.", "firmament.config.hud.day-count-hud.display": "Day: %s", "firmament.config.hud.day-count.description": "A HUD showing current day.", "firmament.config.hud.fps-count": "FPS Count", - "firmament.config.hud.fps-count-hud": "FPS Count Hud", + "firmament.config.hud.fps-count-hud": "FPS Count HUD", "firmament.config.hud.fps-count-hud.description": "Shows FPS.", "firmament.config.hud.fps-count-hud.display": "FPS: %s", "firmament.config.hud.fps-count.description": "A HUD showing current FPS.", "firmament.config.hud.ping-count": "Ping Count", - "firmament.config.hud.ping-count-hud": "Ping Count Hud", + "firmament.config.hud.ping-count-hud": "Ping Count HUD", "firmament.config.hud.ping-count-hud.description": "Shows Ping.", "firmament.config.hud.ping-count-hud.display": "Ping %s", "firmament.config.hud.ping-count.description": "A HUD showing current Ping.", |