Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
fixed selector tag lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jul 7, 2024
1 parent 1f260d5 commit d3fe413
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import io.github.gregtechintergalactical.gtcore.data.GTCoreBlocks;
import io.github.gregtechintergalactical.gtcore.data.GTCoreItems;
import io.github.gregtechintergalactical.gtcore.item.ItemHazmatArmor;
import io.github.gregtechintergalactical.gtcore.item.ItemSelectorTag;
import muramasa.antimatter.AntimatterAPI;
import muramasa.antimatter.Ref;
import muramasa.antimatter.datagen.providers.AntimatterLanguageProvider;
Expand Down Expand Up @@ -78,6 +79,8 @@ protected void english(String domain, String locale) {
add("tooltip.gtcore.pocket_multitool", "6 useful Tools in one!");
add("tooltip.gtcore.pocket_multitool.switch_mode", "Sneak Rightclick to switch Mode");
add("tooltip.gtcore.knife", "Can be used to harvest rubber from spots on rubber trees");
add("tooltip.gtcore.selector_tag.0", "Right click to cycle mode forward");
add("tooltip.gtcore.selector_tag.1", "Shift right click to cycle mode backward");
AntimatterAPI.all(ItemBasic.class, domain).forEach(i -> override(i.getDescriptionId(), lowerUnderscoreToUpperSpaced(i.getId())
.replace("Lv", "(LV)")
.replace("Mv", "(MV)")
Expand All @@ -94,6 +97,7 @@ protected void overrides() {
String type = s.getSize() == PipeSize.TINY ? "Cable" : "Wire";
override(Ref.ID, s.getDescriptionId(), StringUtils.join(Utils.getLocalizedType(s.getType().getMaterial()), " ", type));
});
AntimatterAPI.all(ItemSelectorTag.class, GTCore.ID).forEach(i -> override(i.getDescriptionId(), "Selector Tag (" + i.circuitId + ")"));
override(Ref.ID, DUST.get(Beeswax).getDescriptionId(), "Beeswax");
override(Ref.ID, DUST_SMALL.get(Beeswax).getDescriptionId(), "Small Beeswax");
override(Ref.ID, DUST_TINY.get(Beeswax).getDescriptionId(), "Tiny Beeswax");
Expand Down

0 comments on commit d3fe413

Please sign in to comment.