Adding extra Features + Bugfixes#40
Conversation
…tage for how likely a villager would be able to adopt a new trade.
…flection instead of via temporary tables.
|
adding retrieval of Careers and Professions via Reflection. |
…eItem instead of a lambda. Added two ZenMethods: clearTrades(profession, career), removeTradeItem(profession, career, itemstack).
|
With the latest change, the following features get added: With new commands, you can now also remove trades (even ones added by this mod). Ex: // Merchant.clearTrades(String, String);
Merchant.clearTrades("minecraft:farmer", "fisherman");
// Merchant.removeTradeItem(String, String, IItemStack);
Merchant.removeTradeItem("minecraft:farmer", "farmer", <minecraft:apple>); |
|
I will deal with the CraftTweaker Documentation, once this gets merged |
|
Sorry I'm pretty out of the loop when it comes to Minecraft nowadays. I have set up my local dev environment again and am working on a beta release. Can you verify if these release notes seem accurate based on your contributions? V0.7.0-BETA Change LogNew
Updated
|
|
Don't worry about it, it's also for an ancient Minecraft version by now ^^ Other than that it looks good! |
Fixed wrong return that snuck past Version control
|
So version 0.6.0 & 0.6.1 already exist and since there are new features, 0.7.0 is appropriate. |
|
Oh okay, apologies, i must've missed that then, in that case it's all fine :) |
It is now possible to add an additional parameter for giving a trade entry a chance on how likely it would be to adopt the trade.
Ex:
The chance value has to be a float between 0.0 and 100.0