Skip to content

Commit

Permalink
Add range tooltip to machine frames
Browse files Browse the repository at this point in the history
  • Loading branch information
Rearth committed Feb 3, 2025
1 parent 910140f commit d2d7d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ protected void appendProperties(StateManager.Builder<Block, BlockState> builder)
public void appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) {
super.appendTooltip(stack, context, tooltip, options);
tooltip.add(Text.translatable("tooltip.oritech.machine_frame").formatted(Formatting.GRAY, Formatting.ITALIC));
tooltip.add(Text.translatable("tooltip.oritech.machine_frame.1", Oritech.CONFIG.processingMachines.machineFrameMaxLength(), Oritech.CONFIG.processingMachines.machineFrameMaxLength()).formatted(Formatting.GRAY));
}

@Override
Expand Down
1 change: 1 addition & 0 deletions common/src/main/resources/assets/oritech/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
"tooltip.oritech.steam_engine": "Processes steam into RF and water. Can be chained together",
"tooltip.oritech.item_filter": "Used to filter which items can be inserted into an inventory.",
"tooltip.oritech.machine_frame": "Yes there is a config option to change the bounding box of this.",
"tooltip.oritech.machine_frame.1": "Max Length: %sx%s blocks.",
"tooltip.oritech.particle_collector": "Collects the energy of tachyons emitted by particle collisions.",
"tooltip.oritech.reactor_port_mode.0": "Output Temperature",
"tooltip.oritech.reactor_port_mode.1": "Output Non-Empty Rod Count",
Expand Down

0 comments on commit d2d7d9d

Please sign in to comment.