/
JobStudent.java
53 lines (48 loc) · 1.18 KB
/
JobStudent.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
package com.minecolonies.coremod.colony.jobs;
import com.minecolonies.coremod.client.render.RenderBipedCitizen;
import com.minecolonies.coremod.colony.CitizenData;
import com.minecolonies.coremod.entity.ai.basic.AbstractAISkeleton;
import com.minecolonies.coremod.entity.ai.citizen.student.EntityAIStudy;
import org.jetbrains.annotations.NotNull;
/**
* The student job class.
*/
public class JobStudent extends AbstractJob
{
/**
* Create a cook job.
*
* @param entity the student.
*/
public JobStudent(final CitizenData entity)
{
super(entity);
}
/**
* Return a Localization textContent for the Job.
*
* @return localization textContent String.
*/
@NotNull
@Override
public String getName()
{
return "com.minecolonies.coremod.job.student";
}
/**
* Generate your AI class to register.
*
* @return your personal AI instance.
*/
@NotNull
@Override
public AbstractAISkeleton<JobStudent> generateAI()
{
return new EntityAIStudy(this);
}
@Override
public RenderBipedCitizen.Model getModel()
{
return RenderBipedCitizen.Model.STUDENT;
}
}