aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-04 16:45:41 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-04 16:45:41 +0800
commit76357c9d3c862fa7782c5ae427ac8ddab40f2369 (patch)
tree26d9f8f8d01bf8ae088bf3745e19be5efe3a4443 /features
parent96f5936ef52870a5255d44f5caa22994e0a17862 (diff)
downloadSoopyV2-76357c9d3c862fa7782c5ae427ac8ddab40f2369.tar.gz
SoopyV2-76357c9d3c862fa7782c5ae427ac8ddab40f2369.tar.bz2
SoopyV2-76357c9d3c862fa7782c5ae427ac8ddab40f2369.zip
+ /zoo command
+ meta
Diffstat (limited to 'features')
-rw-r--r--features/globalSettings/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 3a211f4..0fd74e9 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -18,6 +18,8 @@ import renderLibs from "../../../guimanager/renderLibs";
import { f, m } from "../../../mappings/mappings";
import { addLore, getSBUUID, toMessageWithLinks } from "../../utils/utils";
import { delay } from "../../utils/delayUtils";
+import { SoopyGui } from "../../../guimanager";
+import SoopyImageElement from "../../../guimanager/GuiElement/SoopyImageElement";
const Files = Java.type("java.nio.file.Files")
const Paths = Java.type("java.nio.file.Paths")
const JavaString = Java.type("java.lang.String")
@@ -383,6 +385,10 @@ class GlobalSettings extends Feature {
ChatLib.chat(this.FeatureManager.messagePrefix + "Final price: " + numberWithCommas(Math.round(json.price)))
})
})
+
+ let zoogui = new SoopyGui().setOpenCommand("zoo")
+
+ zoogui.element.addChild(new SoopyImageElement().setImage("https://img.freepik.com/premium-photo/portrait-monkey-wild_397170-44.jpg?w=1380").setLocation(0, 0, 1, 1))
}
worldLoad() {