-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEntityBuilder.java
More file actions
56 lines (47 loc) · 1.08 KB
/
EntityBuilder.java
File metadata and controls
56 lines (47 loc) · 1.08 KB
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
class EntityBuilder {
/**
* constructor
* @param entity entity tpye
* @param loc location
*/
EntityBuilder(EntityType entity, Location loc);
/**
* constructor
* @param entity entity tpye
* @param world world
* @param x x coordinate
* @param y y coordinate
* @param z z coordinate
*/
EntityBuilder(EntityType entity, World world, double x, double y, double z);
/**
* constructor
* @param entity entity tpye
* @param world world name
* @param x x coordinate
* @param y y coordinate
* @param z z coordinate
*/
EntityBuilder(EntityType entity, String world, double x, double y, double z);
/**
* @param name custom name
*/
EntityBuilder setCustomName(String name);
/**
* @param visible nametag visible
*/
EntityBuilder setCustomNameVisible(boolean visible);
/**
* @param entity entity
*/
EntityBuilder setPassenger(Entity entity);
/**
* @param age entity age
*/
EntityBuilder setAge(EntityAge age);
enum EntityAge BABY, ADULT;
/**
* @return Entity
*/
Entity spawn();
}