This commit is contained in:
ZHAY10086
2024-10-21 20:10:04 +08:00
parent 6a6a0ba4f0
commit 45e6897175
7 changed files with 2196 additions and 2195 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ modpackpuzzleJEI.addElement(IJeiUtils.createArrowElement(64, 25, 0));
modpackpuzzleJEI.addElement(IJeiUtils.createImageElement("usingBrain", 68, 6, 16, 16, 0, 0, "contenttweaker:textures/gui/brainuse.png", 16, 16));
modpackpuzzleJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 81 && mouseX >= 68 && mouseY <= 22 && mouseY >= 6) {
return ["Use your Brain!"];
return ["开动大脑!"];
}
else if (mouseX <= 85 && mouseX >= 64 && mouseY <= 35 && mouseY >= 25) {
return ["Puzzle can be completed after getting item on the left"];
return ["获得左侧物品后即可完成谜题"];
}
return [];
});