aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-11-02 22:20:32 +0100
committerGitHub <noreply@github.com>2023-11-02 22:20:32 +0100
commit7df75c9469bedda34ffce42273abc96f952f613a (patch)
treee8916f3a0964e65d28197ee1247916eec2b97a83 /src/main/java/at/hannibal2/skyhanni/utils
parent2ce84766100584a5aaf516a2cbf0907585aaa07e (diff)
downloadskyhanni-7df75c9469bedda34ffce42273abc96f952f613a.tar.gz
skyhanni-7df75c9469bedda34ffce42273abc96f952f613a.tar.bz2
skyhanni-7df75c9469bedda34ffce42273abc96f952f613a.zip
Add visitor highlighter/blocker (#653)
Added Highlight Visitors in SkyBlock. Block Interacting with Visitors. #653
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java
index 87a80d391..265e5b11e 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java
+++ b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java
@@ -1,7 +1,9 @@
package at.hannibal2.skyhanni.utils.jsonobjects;
import at.hannibal2.skyhanni.features.garden.CropType;
+import at.hannibal2.skyhanni.utils.LorenzVec;
import com.google.gson.annotations.Expose;
+import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.Map;
@@ -26,7 +28,24 @@ public class GardenJson {
@Expose
public String rarity;
+ @Nullable
+ @Expose
+ public LorenzVec position;
+
+ /**
+ * Formatted as follows:
+ * - If this visitor is a player, get the encoded skin value
+ * - If this visitor is a mob, get their mob class name
+ */
+ @Nullable
+ @Expose
+ public String skinOrType;
+
+ @Nullable
+ @Expose
+ public String mode;
+
@Expose
public List<String> need_items;
}
-} \ No newline at end of file
+}