mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Trading support for ModLoader - thanks Herblore!
This commit is contained in:
1 parent
d7a74d84ea
commit
23fdbbd03d
6 files changed
+126
-9
No files matched your search
@@ -294,6 +294,10 @@ public class ModLoader
|
||||
EntityRegistry.addSpawn(entityName, weightedProb, min, max, spawnList, biomes);
|
||||
}
|
||||
|
||||
public static void addTrade(int profession, TradeEntry entry)
|
||||
{
|
||||
ModLoaderHelper.registerTrade(profession, entry);
|
||||
}
|
||||
/**
|
||||
* Send a packet from the client
|
||||
* @param packet
|
||||
|
||||
Reference in new issue
Block a user