Updated icons

This commit is contained in:
Christian Knaapen
2023-06-25 20:00:14 +02:00
parent 9c9e4d04b7
commit 0dad523e13
6 changed files with 6 additions and 5 deletions

View File

@@ -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<Component> 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));
}
}

View File

@@ -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",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 395 B