senseiwells / EssentialClient

EssentialClient is a client side mod originally forked from Carpet Client for 1.15.2 that implements new client side features
MIT License
77 stars 14 forks source link

Add getTradeListSize, getTradeList #35

Closed aria1th closed 2 years ago

aria1th commented 2 years ago

getTradeList -> get list of maps (sell : itemStack, buy1 : itemStack, buy2 : itemStack(or AIR) ) getTradeListSize -> get Size of trade list

tested in 1.18.1 & 1.17.1 server env(arucas not updated, it does not boot with gson)

aria1th commented 2 years ago

not ready : I'll tweak clearTrade function so that it can throw when player inventory is full for external reasons

aria1th commented 2 years ago

Done

aria1th commented 2 years ago

todo ++ : get villager level and xp

aria1th commented 2 years ago

Finished testing in 1.16.5