public static class VillagerRegistry.VillagerCareer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
id |
private java.lang.String |
name |
private VillagerRegistry.VillagerProfession |
profession |
private java.util.List<java.util.List<EntityVillager.ITradeList>> |
trades |
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) |
private VillagerRegistry.VillagerCareer |
init(EntityVillager.ITradeList[][] trades) |
private VillagerRegistry.VillagerProfession profession
private java.lang.String name
private int id
private java.util.List<java.util.List<EntityVillager.ITradeList>> trades
public VillagerCareer(VillagerRegistry.VillagerProfession parent, java.lang.String name)
public java.lang.String getName()
public VillagerRegistry.VillagerCareer addTrade(int level, EntityVillager.ITradeList... trades)
@Nullable public java.util.List<EntityVillager.ITradeList> getTrades(int level)
private VillagerRegistry.VillagerCareer init(EntityVillager.ITradeList[][] trades)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object