CraftTweaker

CraftTweaker

151M Downloads

Basic Villager Trading

tikiMC opened this issue ยท 4 comments

commented

-Basic Villager Trading.

-Need a way to remove basic villager trades to get rid of certain items that wouldn't be obtainable anywhere outside of trading.

  • 1.16.5 plz and thank you
commented

That's already implemented.
Check this docs site which describes the methods
https://docs.blamejared.com/1.16/en/vanilla/api/villager/VillagerTrades/

commented

There is a BasicTrade class that we don't support for removals yet, they are asking to support that

commented

This apparently isn't fixed, will need to test with:
https://github.com/team-abnormals/environmental

commented
villagerTrades.removeBasicTrade(<profession:minecraft:farmer>, 1, <item:minecraft:emerald>, <item:environmental:rice>);

I have tested as working