Interface AbstractVillager

    • Method Detail

      • getInventory

        @NotNull
        Inventory getInventory()
        Gets this villager's inventory.
        Note that this inventory is not the Merchant inventory, rather, it is the items that a villager might have collected (from harvesting crops, etc.) Get the object's inventory.
        Specified by:
        getInventory in interface InventoryHolder
        Returns:
        The inventory.