blob: 265e5b11e41982404fe5ea24ebeb0768e1de6138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
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;
public class GardenJson {
@Expose
public List<Integer> garden_exp;
@Expose
public Map<CropType, List<Integer>> crop_milestones;
@Expose
public Map<String, GardenVisitor> visitors;
@Expose
public Map<String, Double> organic_matter;
@Expose
public Map<String, Double> fuel;
public static class GardenVisitor {
@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;
}
}
|