diff --git a/src/main/java/nl/requios/effortlessbuilding/item/PowerLevelItem.java b/src/main/java/nl/requios/effortlessbuilding/item/PowerLevelItem.java index 635b3c9..b1fe242 100644 --- a/src/main/java/nl/requios/effortlessbuilding/item/PowerLevelItem.java +++ b/src/main/java/nl/requios/effortlessbuilding/item/PowerLevelItem.java @@ -15,6 +15,7 @@ import net.minecraft.world.item.TooltipFlag; import net.minecraft.world.level.Level; import nl.requios.effortlessbuilding.EffortlessBuilding; import nl.requios.effortlessbuilding.EffortlessBuildingClient; +import nl.requios.effortlessbuilding.create.foundation.item.TooltipHelper; import javax.annotation.Nullable; import javax.annotation.ParametersAreNonnullByDefault; @@ -60,7 +61,7 @@ public class PowerLevelItem extends Item { @Override public void appendHoverText(ItemStack stack, @Nullable Level world, List tooltip, TooltipFlag isAdvanced) { - tooltip.add(Component.translatable(getDescriptionId() + ".desc").withStyle(ChatFormatting.GRAY)); - tooltip.add(Component.translatable("key.effortlessbuilding.upgrade_power_level").withStyle(ChatFormatting.BLUE)); + tooltip.addAll(TooltipHelper.cutTextComponent(Component.translatable(getDescriptionId() + ".desc"), ChatFormatting.GRAY, ChatFormatting.GRAY)); + tooltip.addAll(TooltipHelper.cutTextComponent(Component.translatable("key.effortlessbuilding.upgrade_power_level"), ChatFormatting.BLUE, ChatFormatting.BLUE)); } } diff --git a/src/main/resources/assets/effortlessbuilding/lang/en_us.json b/src/main/resources/assets/effortlessbuilding/lang/en_us.json index dc8ce65..94ddf2b 100644 --- a/src/main/resources/assets/effortlessbuilding/lang/en_us.json +++ b/src/main/resources/assets/effortlessbuilding/lang/en_us.json @@ -73,8 +73,8 @@ "effortlessbuilding.action.open_modifier_settings": "Open Modifier Settings", "effortlessbuilding.action.open_player_settings": "Open Build Settings", - "effortlessbuilding.action.replace_only_air": "Don't Replace Blocks", - "effortlessbuilding.action.replace_only_air.description": "You will only place blocks where there is no block already. Replaceables such as grass will still be replaced.", + "effortlessbuilding.action.replace_only_air": "Replace Only Air", + "effortlessbuilding.action.replace_only_air.description": "You will only place blocks where there was air. Replaceables such as grass will still be replaced.", "effortlessbuilding.action.replace_blocks_and_air": "Replace Blocks And Air", "effortlessbuilding.action.replace_blocks_and_air.description": "You will replace blocks and air.", "effortlessbuilding.action.replace_only_blocks": "Replace Only Blocks", @@ -82,7 +82,7 @@ "effortlessbuilding.action.replace_filtered_by_offhand": "Filter By Offhand", "effortlessbuilding.action.replace_filtered_by_offhand.description": "You will only replace blocks that match the block in your offhand. If you don't have a block in your offhand, you will only replace air. If you have a randomizer bag in your offhand, you will only replace blocks that are contained in the bag.", "effortlessbuilding.action.toggle_protect_tile_entities": "Protect Tile Entities", - "effortlessbuilding.action.toggle_protect_tile_entities.description": "Blocks that hold data such as chests, furnaces, and hoppers will not be replaced.", + "effortlessbuilding.action.toggle_protect_tile_entities.description": "If enabled, blocks that hold data such as chests, furnaces, and hoppers will not be replaced.", "effortlessbuilding.action.build_speed": "Build Speed", "effortlessbuilding.action.filling": "Filling", diff --git a/src/main/resources/assets/effortlessbuilding/textures/gui/icons.png b/src/main/resources/assets/effortlessbuilding/textures/gui/icons.png index f5a72fa..5ba3668 100644 Binary files a/src/main/resources/assets/effortlessbuilding/textures/gui/icons.png and b/src/main/resources/assets/effortlessbuilding/textures/gui/icons.png differ diff --git a/src/main/resources/assets/effortlessbuilding/textures/items/buildingtechniquesbook.png b/src/main/resources/assets/effortlessbuilding/textures/items/buildingtechniquesbook.png index 76227d5..9f6cc3e 100644 Binary files a/src/main/resources/assets/effortlessbuilding/textures/items/buildingtechniquesbook.png and b/src/main/resources/assets/effortlessbuilding/textures/items/buildingtechniquesbook.png differ diff --git a/src/main/resources/assets/effortlessbuilding/textures/items/elastichand.png b/src/main/resources/assets/effortlessbuilding/textures/items/elastichand.png index c54b751..5f16dc1 100644 Binary files a/src/main/resources/assets/effortlessbuilding/textures/items/elastichand.png and b/src/main/resources/assets/effortlessbuilding/textures/items/elastichand.png differ diff --git a/src/main/resources/assets/effortlessbuilding/textures/items/muscles.png b/src/main/resources/assets/effortlessbuilding/textures/items/muscles.png index 0b3f104..fa1f218 100644 Binary files a/src/main/resources/assets/effortlessbuilding/textures/items/muscles.png and b/src/main/resources/assets/effortlessbuilding/textures/items/muscles.png differ