Package cn.nukkit.entity.data.profession
Class Profession
java.lang.Object
cn.nukkit.entity.data.profession.Profession
- Direct Known Subclasses:
ProfessionArmor
,ProfessionButcher
,ProfessionCartographer
,ProfessionCleric
,ProfessionFarmer
,ProfessionFisherman
,ProfessionFletcher
,ProfessionLeather
,ProfessionLibrarian
,ProfessionMason
,ProfessionShepherd
,ProfessionTool
,ProfessionWeapon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildTrades
(int seed) int
int
getIndex()
getName()
static Profession
getProfession
(int index) static HashMap<Integer,
Profession> static void
init()
static void
registerProfession
(Profession profession)
-
Constructor Details
-
Profession
-
-
Method Details
-
registerProfession
-
getProfessions
-
getProfession
-
buildTrades
-
init
-
getBlockID
public int getBlockID() -
getIndex
public int getIndex() -
getName
-