Package | Description |
---|---|
net.minecraft.entity.merchant.villager | |
net.minecraftforge.common | |
net.minecraftforge.event.village |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
VillagerTrades.DyedArmorForEmeraldsTrade |
(package private) static class |
VillagerTrades.EmeraldForItemsTrade |
(package private) static class |
VillagerTrades.EmeraldForMapTrade |
(package private) static class |
VillagerTrades.EmeraldForVillageTypeItemTrade |
(package private) static class |
VillagerTrades.EnchantedBookForEmeraldsTrade |
(package private) static class |
VillagerTrades.EnchantedItemForEmeraldsTrade |
(package private) static class |
VillagerTrades.ItemsForEmeraldsAndItemsTrade |
(package private) static class |
VillagerTrades.ItemsForEmeraldsTrade |
(package private) static class |
VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade |
(package private) static class |
VillagerTrades.SuspiciousStewForEmeraldTrade |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractVillagerEntity.addTrades(MerchantOffers givenMerchantOffers,
VillagerTrades.ITrade[] newTrades,
int maxNumbers) |
Modifier and Type | Class and Description |
---|---|
class |
BasicTrade
A default, exposed implementation of ITrade.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VillagerTrades.ITrade> |
WandererTradesEvent.generic |
protected java.util.List<VillagerTrades.ITrade> |
WandererTradesEvent.rare |
protected it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.util.List<VillagerTrades.ITrade>> |
VillagerTradesEvent.trades |
Modifier and Type | Method and Description |
---|---|
java.util.List<VillagerTrades.ITrade> |
WandererTradesEvent.getGenericTrades() |
java.util.List<VillagerTrades.ITrade> |
WandererTradesEvent.getRareTrades() |
it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.util.List<VillagerTrades.ITrade>> |
VillagerTradesEvent.getTrades() |
Constructor and Description |
---|
VillagerTradesEvent(it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.util.List<VillagerTrades.ITrade>> trades,
VillagerProfession type) |
WandererTradesEvent(java.util.List<VillagerTrades.ITrade> generic,
java.util.List<VillagerTrades.ITrade> rare) |
WandererTradesEvent(java.util.List<VillagerTrades.ITrade> generic,
java.util.List<VillagerTrades.ITrade> rare) |