All tooltips done

This commit is contained in:
ZHAY10086
2024-10-26 01:23:10 +08:00
parent fbcefd5dfe
commit 21786129d6
6 changed files with 249 additions and 249 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var draconicboomJEI as IJeiPanel = JEI.createJei("draconic_alchemy", "Boom Boom");
var draconicboomJEI as IJeiPanel = JEI.createJei("draconic_alchemy", "爆炸");
draconicboomJEI.setModid("Draconic Alchemy");
draconicboomJEI.setIcon(<draconicevolution:reactor_core>);
draconicboomJEI.addRecipeCatalyst(<draconicevolution:reactor_core>);
@@ -17,7 +17,7 @@ draconicboomJEI.addElement(IJeiUtils.createArrowElement(64, 25, 0));
draconicboomJEI.addElement(IJeiUtils.createImageElement("nuclearboom", 68, 6, 16, 16, 0, 0, "contenttweaker:textures/gui/nuclearicon.png", 16, 16));
draconicboomJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 81 && mouseX >= 68 && mouseY <= 22 && mouseY >= 6) {
return ["What is this and how do I make it explode"];
return ["这是什么我该怎么引爆"];
}
return [];
});
+2 -2
View File
@@ -6,7 +6,7 @@ import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var foregoingsludgeJEI as IJeiPanel = JEI.createJei("foregoing_plant_gatherer", "Plant Gatherer");
var foregoingsludgeJEI as IJeiPanel = JEI.createJei("foregoing_plant_gatherer", "收割机");
foregoingsludgeJEI.setModid("Industrial Foregoing");
foregoingsludgeJEI.setIcon(<industrialforegoing:crop_recolector>);
foregoingsludgeJEI.addRecipeCatalyst(<industrialforegoing:crop_recolector>);
@@ -17,7 +17,7 @@ foregoingsludgeJEI.addElement(IJeiUtils.createArrowElement(64, 25, 0));
foregoingsludgeJEI.addElement(IJeiUtils.createImageElement("plant", 68, 6, 16, 16, 0, 0, "contenttweaker:textures/gui/plant.png", 16, 16));
foregoingsludgeJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 81 && mouseX >= 68 && mouseY <= 22 && mouseY >= 6) {
return ["Obtained from harvesting any plants"];
return ["通过收获任意作物获得"];
}
return [];
});
+2 -2
View File
@@ -6,7 +6,7 @@ import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var brewiceworldJEI as IJeiPanel = JEI.createJei("brew_iceworld", "Brew of Iceworld");
var brewiceworldJEI as IJeiPanel = JEI.createJei("brew_iceworld", "冰霜世界之酿");
brewiceworldJEI.setModid("MeatballCraft");
brewiceworldJEI.setIcon(<bewitchment:perpetual_ice>);
brewiceworldJEI.addRecipeCatalyst(<bewitchment:perpetual_ice>);
@@ -18,7 +18,7 @@ brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(55, 75, true)); // input
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(55, 25, true)); // input
brewiceworldJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 60 && mouseX >= 40 && mouseY <= 40 && mouseY >= 60) {
return ["Drop them in order"];
return ["按顺序投入物品"];
}
return [];
});