public static class VillagerRegistry.VillagerCareer
extends java.lang.Object
Constructor and Description |
---|
VillagerCareer(VillagerRegistry.VillagerProfession parent,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
VillagerRegistry.VillagerCareer |
addTrade(int level,
EntityVillager.ITradeList... trades) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
java.util.List<EntityVillager.ITradeList> |
getTrades(int level) |
public VillagerCareer(VillagerRegistry.VillagerProfession parent, java.lang.String name)
public java.lang.String getName()
public VillagerRegistry.VillagerCareer addTrade(int level, EntityVillager.ITradeList... trades)
public java.util.List<EntityVillager.ITradeList> getTrades(int level)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object