feat: expose updateDemand and restock on Villager (#12608)

This commit is contained in:
Mart
2025-06-07 06:42:11 -04:00
committed by GitHub
parent 03efecf0d3
commit 3527ccdf2e
3 changed files with 28 additions and 0 deletions

View File

@ -380,4 +380,14 @@ public class CraftVillager extends CraftAbstractVillager implements Villager {
public void clearReputations() {
getHandle().getGossips().gossips.clear();
}
@Override
public void updateDemand() {
getHandle().updateDemand();
}
@Override
public void restock() {
getHandle().restock();
}
}