Skip to content

Commit

Permalink
Reworded the tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
Chailotl committed Nov 17, 2024
1 parent 9441f71 commit 3129428
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos
@Override
public void appendTooltip(ItemStack itemStack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) {
tooltip.add(Text.translatable("block.glowcase.item_acceptor_block.tooltip.0").formatted(Formatting.GRAY));
tooltip.add(Text.translatable("block.glowcase.item_acceptor_block.tooltip.1").formatted(Formatting.DARK_GRAY));
tooltip.add(Text.translatable("block.glowcase.item_acceptor_block.tooltip.1").formatted(Formatting.BLUE));
tooltip.add(Text.translatable("block.glowcase.item_acceptor_block.tooltip.2").formatted(Formatting.BLUE));
tooltip.add(Text.translatable("block.glowcase.item_acceptor_block.tooltip.3").formatted(Formatting.DARK_GRAY));
}
}
6 changes: 4 additions & 2 deletions src/main/resources/assets/glowcase/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
"block.glowcase.sprite_block.tooltip.1": "Can be extended with resource packs",
"block.glowcase.outline_block.tooltip.0": "Displays an outline",
"block.glowcase.particle_display_block.tooltip.0": "Displays particles",
"block.glowcase.item_acceptor_block.tooltip.0": "Emits a redstone pulse when given the required item",
"block.glowcase.item_acceptor_block.tooltip.1": "Interact in Creative mode to edit",
"block.glowcase.item_acceptor_block.tooltip.0": "Accepts an item stack as input",
"block.glowcase.item_acceptor_block.tooltip.1": " Pushes the item stack to an inventory",
"block.glowcase.item_acceptor_block.tooltip.2": " Emits a redstone pulse",
"block.glowcase.item_acceptor_block.tooltip.3": "Interact in Creative mode to edit",
"item.glowcase.lock.tooltip.0": "Locks and unlocks containers"
}

0 comments on commit 3129428

Please sign in to comment.