-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHologramBuilder.java
69 lines (58 loc) · 1.31 KB
/
HologramBuilder.java
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
class HologramBuilder {
/**
* constructor
* @param name name
* @param loc location
*/
HologramBuilder(String name, Location loc);
/**
* constructor
* @param name name
* @param world world
* @param x x coordinate
* @param y y coordinate
* @param z z coordinate
*/
HologramBuilder(String name, World world, double x, double y, double z);
/**
* constructor
* @param name name
* @param world world name
* @param x x coordinate
* @param y y coordinate
* @param z z coordinate
*/
HologramBuilder(String name, String world, double x, double y, double z);
/**
* @param line line id
* @param text text
*/
HologramBuilder setLine(int line, String text);
/**
* @param lines list of Strings for hologram lines
*/
HologramBuilder addLines(List<String> lines);
/**
* @param text text
*/
HologramBuilder addLine(String text);
/**
* @param line line
*/
HologramBuilder removeLine(String line);
HologramBuilder spawn();
/**
* @param loc location
*/
void remove(Location loc);
/**
* @param path file path
* @param file file name
*/
void saveInFile(String path, String file);
/**
* @param path file path
* @param file file name
*/
void removeFromFile(String path, String file);
}