Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8695821
start of lang restructuring
YoungOnionMC Jun 20, 2025
4f9c495
better file system for lang keys
Spicierspace153 Jun 20, 2025
d5d50ca
missed this one :(
Spicierspace153 Jun 20, 2025
04313ff
lang util
YoungOnionMC Jun 20, 2025
6f83930
armorLang.java cleanup
Spicierspace153 Jun 20, 2025
38de8ef
more renames to armor and lang handler javadoc for proper practice
Spicierspace153 Jun 20, 2025
d74ae71
someone(onion) forgot to change uses when moving classes
Spicierspace153 Jun 20, 2025
8cd8c4f
final ArmorLang
Spicierspace153 Jun 20, 2025
716fab8
Fluid Lang Keys rename :)
Spicierspace153 Jun 20, 2025
fc8c460
tool lang, command lang, fix missing cut paste errors
YoungOnionMC Jun 20, 2025
b67220a
start of covers
Spicierspace153 Jun 20, 2025
f9cbc0b
Merge remote-tracking branch 'origin/yo/space-tooltip-refactor' into …
YoungOnionMC Jun 20, 2025
fe289db
Merge branch 'yo/space-tooltip-refactor' of https://github.com/GregTe…
YoungOnionMC Jun 20, 2025
5ee9e18
subtitles
YoungOnionMC Jun 20, 2025
d7a80ec
finish the moving of LangHandler, all lang values are now in dedicate…
YoungOnionMC Jun 22, 2025
aacf2e3
remove juicers pr
Spicierspace153 Jun 23, 2025
5751e4d
Merge branch '1.20.1' of https://github.com/GregTechCEu/GregTech-Mode…
YoungOnionMC Jun 23, 2025
62ecda5
merge 1.20.1 pre 7.0
YoungOnionMC Jun 23, 2025
311d0f3
more Lang cleanup, fix various broken lang keys
YoungOnionMC Jun 23, 2025
5f65c80
machine lang :sob:
YoungOnionMC Jun 24, 2025
0678b22
GUI Lang
YoungOnionMC Jun 24, 2025
e782584
requested changes
Spicierspace153 Jun 24, 2025
ba989df
requested changes
YoungOnionMC Jun 25, 2025
304c680
Pipe connection tooltips
YoungOnionMC Jun 25, 2025
5f1902b
recipe type names and categories
YoungOnionMC Jun 26, 2025
36e21a1
cauldron washing tooltip keys
YoungOnionMC Jun 26, 2025
0872d8c
tool behaviors, tool class, tool info tooltips, turbine rotor tooltip…
YoungOnionMC Jun 26, 2025
f9e9b61
Armor Lang Refactor (#3274)
JuiceyBeans Jun 26, 2025
f8d944b
armor lang datagen
YoungOnionMC Jun 26, 2025
76345d0
configuration lang, add entire path to the keys
YoungOnionMC Jun 26, 2025
d7fe386
Fluid pipe tooltips, item pipe tooltips, cable tooltips, fluid tooltips
YoungOnionMC Jun 26, 2025
00e5698
UHV-MAX machine lang, eu generator tooltip blurbs, fixed xei recipe c…
YoungOnionMC Jun 26, 2025
c67b507
gtceu.machine -> machine.gtceu, fix hard coded recipe type mod lang, …
YoungOnionMC Jun 26, 2025
1d0e176
remove upside down lang (#3278)
YoungOnionMC Jun 27, 2025
81120cf
more machine tooltips
YoungOnionMC Jun 28, 2025
92fbbba
Merge remote-tracking branch 'origin/1.20.1' into yo/space-tooltip-re…
YoungOnionMC May 20, 2026
0c115ff
slams keyboard
YoungOnionMC May 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,982 changes: 0 additions & 5,982 deletions src/generated/resources/assets/gtceu/lang/en_ud.json

This file was deleted.

2,140 changes: 1,049 additions & 1,091 deletions src/generated/resources/assets/gtceu/lang/en_us.json

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions src/generated/resources/assets/gtceu/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "gtceu:arc"
}
],
"subtitle": "gtceu.subtitle.arc"
"subtitle": "subtitles.gtceu.arc"
},
"assembler": {
"sounds": [
Expand All @@ -15,7 +15,7 @@
"name": "gtceu:assembler"
}
],
"subtitle": "gtceu.subtitle.assembler"
"subtitle": "subtitles.gtceu.assembler"
},
"bath": {
"sounds": [
Expand All @@ -24,7 +24,7 @@
"name": "gtceu:bath"
}
],
"subtitle": "gtceu.subtitle.bath"
"subtitle": "subtitles.gtceu.bath"
},
"boiler": {
"sounds": [
Expand All @@ -33,7 +33,7 @@
"name": "gtceu:boiler"
}
],
"subtitle": "gtceu.subtitle.boiler"
"subtitle": "subtitles.gtceu.boiler"
},
"centrifuge": {
"sounds": [
Expand All @@ -42,7 +42,7 @@
"name": "gtceu:centrifuge"
}
],
"subtitle": "gtceu.subtitle.centrifuge"
"subtitle": "subtitles.gtceu.centrifuge"
},
"chainsaw": {
"sounds": [
Expand All @@ -51,7 +51,7 @@
"name": "gtceu:chainsaw"
}
],
"subtitle": "gtceu.subtitle.chainsaw"
"subtitle": "subtitles.gtceu.chainsaw"
},
"chemical": {
"sounds": [
Expand All @@ -60,7 +60,7 @@
"name": "gtceu:chemical"
}
],
"subtitle": "gtceu.subtitle.chemical"
"subtitle": "subtitles.gtceu.chemical"
},
"combustion": {
"sounds": [
Expand All @@ -69,7 +69,7 @@
"name": "gtceu:combustion"
}
],
"subtitle": "gtceu.subtitle.combustion"
"subtitle": "subtitles.gtceu.combustion"
},
"compressor": {
"sounds": [
Expand All @@ -78,7 +78,7 @@
"name": "gtceu:compressor"
}
],
"subtitle": "gtceu.subtitle.compressor"
"subtitle": "subtitles.gtceu.compressor"
},
"computation": {
"sounds": [
Expand All @@ -87,7 +87,7 @@
"name": "gtceu:computation"
}
],
"subtitle": "gtceu.subtitle.computation"
"subtitle": "subtitles.gtceu.computation"
},
"cooling": {
"sounds": [
Expand All @@ -96,7 +96,7 @@
"name": "gtceu:cooling"
}
],
"subtitle": "gtceu.subtitle.cooling"
"subtitle": "subtitles.gtceu.cooling"
},
"cut": {
"sounds": [
Expand All @@ -105,7 +105,7 @@
"name": "gtceu:cut"
}
],
"subtitle": "gtceu.subtitle.cut"
"subtitle": "subtitles.gtceu.cut"
},
"drill": {
"sounds": [
Expand All @@ -114,7 +114,7 @@
"name": "gtceu:drill"
}
],
"subtitle": "gtceu.subtitle.drill"
"subtitle": "subtitles.gtceu.drill"
},
"electrolyzer": {
"sounds": [
Expand All @@ -123,7 +123,7 @@
"name": "gtceu:electrolyzer"
}
],
"subtitle": "gtceu.subtitle.electrolyzer"
"subtitle": "subtitles.gtceu.electrolyzer"
},
"file": {
"sounds": [
Expand All @@ -132,7 +132,7 @@
"name": "gtceu:file"
}
],
"subtitle": "gtceu.subtitle.file"
"subtitle": "subtitles.gtceu.file"
},
"fire": {
"sounds": [
Expand All @@ -141,7 +141,7 @@
"name": "gtceu:fire"
}
],
"subtitle": "gtceu.subtitle.fire"
"subtitle": "subtitles.gtceu.fire"
},
"forge_hammer": {
"sounds": [
Expand All @@ -150,7 +150,7 @@
"name": "gtceu:forge_hammer"
}
],
"subtitle": "gtceu.subtitle.forge_hammer"
"subtitle": "subtitles.gtceu.forge_hammer"
},
"furnace": {
"sounds": [
Expand All @@ -159,7 +159,7 @@
"name": "gtceu:furnace"
}
],
"subtitle": "gtceu.subtitle.furnace"
"subtitle": "subtitles.gtceu.furnace"
},
"jet_engine": {
"sounds": [
Expand All @@ -168,7 +168,7 @@
"name": "gtceu:jet_engine"
}
],
"subtitle": "gtceu.subtitle.jet_engine"
"subtitle": "subtitles.gtceu.jet_engine"
},
"macerator": {
"sounds": [
Expand All @@ -177,7 +177,7 @@
"name": "gtceu:macerator"
}
],
"subtitle": "gtceu.subtitle.macerator"
"subtitle": "subtitles.gtceu.macerator"
},
"metal_pipe": {
"sounds": [
Expand All @@ -186,7 +186,7 @@
"name": "gtceu:metal_pipe"
}
],
"subtitle": "gtceu.subtitle.metal_pipe"
"subtitle": "subtitles.gtceu.metal_pipe"
},
"miner": {
"sounds": [
Expand All @@ -195,7 +195,7 @@
"name": "gtceu:miner"
}
],
"subtitle": "gtceu.subtitle.miner"
"subtitle": "subtitles.gtceu.miner"
},
"mixer": {
"sounds": [
Expand All @@ -204,7 +204,7 @@
"name": "gtceu:mixer"
}
],
"subtitle": "gtceu.subtitle.mixer"
"subtitle": "subtitles.gtceu.mixer"
},
"mortar": {
"sounds": [
Expand All @@ -213,7 +213,7 @@
"name": "gtceu:mortar"
}
],
"subtitle": "gtceu.subtitle.mortar"
"subtitle": "subtitles.gtceu.mortar"
},
"motor": {
"sounds": [
Expand All @@ -222,7 +222,7 @@
"name": "gtceu:motor"
}
],
"subtitle": "gtceu.subtitle.motor"
"subtitle": "subtitles.gtceu.motor"
},
"plunger": {
"sounds": [
Expand All @@ -231,7 +231,7 @@
"name": "gtceu:plunger"
}
],
"subtitle": "gtceu.subtitle.plunger"
"subtitle": "subtitles.gtceu.plunger"
},
"portable_scanner": {
"sounds": [
Expand All @@ -240,7 +240,7 @@
"name": "gtceu:portable_scanner"
}
],
"subtitle": "gtceu.subtitle.portable_scanner"
"subtitle": "subtitles.gtceu.portable_scanner"
},
"portal_closing": {
"sounds": [
Expand All @@ -249,7 +249,7 @@
"name": "gtceu:portal_closing"
}
],
"subtitle": "gtceu.subtitle.portal_closing"
"subtitle": "subtitles.gtceu.portal_closing"
},
"portal_opening": {
"sounds": [
Expand All @@ -258,7 +258,7 @@
"name": "gtceu:portal_opening"
}
],
"subtitle": "gtceu.subtitle.portal_opening"
"subtitle": "subtitles.gtceu.portal_opening"
},
"replicator": {
"sounds": [
Expand All @@ -267,7 +267,7 @@
"name": "gtceu:replicator"
}
],
"subtitle": "gtceu.subtitle.replicator"
"subtitle": "subtitles.gtceu.replicator"
},
"saw": {
"sounds": [
Expand All @@ -276,7 +276,7 @@
"name": "gtceu:saw"
}
],
"subtitle": "gtceu.subtitle.saw"
"subtitle": "subtitles.gtceu.saw"
},
"science": {
"sounds": [
Expand All @@ -285,7 +285,7 @@
"name": "gtceu:science"
}
],
"subtitle": "gtceu.subtitle.science"
"subtitle": "subtitles.gtceu.science"
},
"screwdriver": {
"sounds": [
Expand All @@ -294,7 +294,7 @@
"name": "gtceu:screwdriver"
}
],
"subtitle": "gtceu.subtitle.screwdriver"
"subtitle": "subtitles.gtceu.screwdriver"
},
"soft_hammer": {
"sounds": [
Expand All @@ -303,7 +303,7 @@
"name": "gtceu:soft_hammer"
}
],
"subtitle": "gtceu.subtitle.soft_hammer"
"subtitle": "subtitles.gtceu.soft_hammer"
},
"spray_can": {
"sounds": [
Expand All @@ -312,7 +312,7 @@
"name": "gtceu:spray_can"
}
],
"subtitle": "gtceu.subtitle.spray_can"
"subtitle": "subtitles.gtceu.spray_can"
},
"sus": {
"sounds": [
Expand All @@ -321,7 +321,7 @@
"name": "gtceu:sus"
}
],
"subtitle": "gtceu.subtitle.sus"
"subtitle": "subtitles.gtceu.sus"
},
"turbine": {
"sounds": [
Expand All @@ -330,7 +330,7 @@
"name": "gtceu:turbine"
}
],
"subtitle": "gtceu.subtitle.turbine"
"subtitle": "subtitles.gtceu.turbine"
},
"wirecutter": {
"sounds": [
Expand All @@ -339,7 +339,7 @@
"name": "gtceu:wirecutter"
}
],
"subtitle": "gtceu.subtitle.wirecutter"
"subtitle": "subtitles.gtceu.wirecutter"
},
"wrench": {
"sounds": [
Expand All @@ -348,6 +348,6 @@
"name": "gtceu:wrench"
}
],
"subtitle": "gtceu.subtitle.wrench"
"subtitle": "subtitles.gtceu.wrench"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,11 @@ public ItemStack getCloneItemStack(BlockGetter level, BlockPos pos, BlockState s
public void appendHoverText(ItemStack stack, @Nullable BlockGetter level, List<Component> tooltip,
TooltipFlag flag) {
definition.getTooltipBuilder().accept(stack, tooltip);
String mainKey = String.format("%s.machine.%s.tooltip", definition.getId().getNamespace(),
definition.getId().getPath());
String mainKey = definition.getId().toLanguageKey("machine", "tooltip");
/*
* String mainKey = String.format("%s.machine.%s.tooltip", definition.getId().getNamespace(),
* definition.getId().getPath());
*/
if (GTUtil.isShiftDown()) {
if (definition instanceof MultiblockMachineDefinition multiblockDefinition) {
var pattern = multiblockDefinition.getPatternFactory().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ default boolean test(@NotNull FluidStack stack) {
default void appendTooltips(@NotNull List<Component> tooltip, boolean showToolsInfo, boolean showTemperatureInfo) {
if (GTUtil.isShiftDown()) {
if (showTemperatureInfo)
tooltip.add(Component.translatable("gtceu.fluid_pipe.max_temperature",
tooltip.add(Component.translatable("tooltip.gtceu.fluid_pipe.max_temperature",
FormattingUtil.formatTemperature(getMaxFluidTemperature())));
if (isGasProof()) tooltip.add(Component.translatable("gtceu.fluid_pipe.gas_proof"));
else tooltip.add(Component.translatable("gtceu.fluid_pipe.not_gas_proof"));
if (isPlasmaProof()) tooltip.add(Component.translatable("gtceu.fluid_pipe.plasma_proof"));
if (isCryoProof()) tooltip.add(Component.translatable("gtceu.fluid_pipe.cryo_proof"));
if (isGasProof()) tooltip.add(Component.translatable("tooltip.gtceu.fluid_pipe.gas_proof"));
else tooltip.add(Component.translatable("tooltip.gtceu.fluid_pipe.not_gas_proof"));
if (isPlasmaProof()) tooltip.add(Component.translatable("tooltip.gtceu.fluid_pipe.plasma_proof"));
if (isCryoProof()) tooltip.add(Component.translatable("tooltip.gtceu.fluid_pipe.cryo_proof"));
getContainedAttributes().forEach(a -> a.appendContainerTooltips(tooltip::add));
} else if (isGasProof() || isCryoProof() || isPlasmaProof() || !getContainedAttributes().isEmpty()) {
if (showToolsInfo) {
Expand Down
Loading
Loading